Page 1 of 1

How to transport to a city?

Posted: Mon Nov 05, 2012 5:29 pm
by Cindy
I am sorry, I searched high and low, and can't find a code example on how to use the transport to Logar, Reifort or Heffner (as opposed to Recall which takes you to wherever you set your recall point).

Please and thank you in advance.

Re: How to transport to a city?

Posted: Mon Nov 05, 2012 6:18 pm
by Ego95
This is what you could use for recall for example:

Code: Select all

sendMacro("UseSkill(1,2);");
It opens the first page of your skill book (press k) and then uses the second skill (recall).

It depends on which crafting things you have learned if you want to teleport to logar, heffner, ...

For me

Code: Select all

sendMacro("UseSkill(1,8);");
does a transport to logar

Code: Select all

sendMacro("UseSkill(1,9);");
does a transport to reifort

Code: Select all

sendMacro("UseSkill(1,10);");
does a transport to heffner

Re: How to transport to a city?

Posted: Mon Nov 05, 2012 6:20 pm
by lisa
well firstly, MOVED, don't post questions in the "Userfunctions, waypoint scripts, etc." section


Secondly, forum search got this.

http://www.solarstrike.net/phpBB3/viewt ... amp#p32713

Re: How to transport to a city?

Posted: Mon Nov 05, 2012 6:24 pm
by Ego95
lisa wrote:Secondly, forum search got this.

http://www.solarstrike.net/phpBB3/viewt ... amp#p32713
Okay, lisas link is a better solution :D

Code: Select all

RoMScript('CastSpellByName("Transport:Heffner Camp")')

Re: How to transport to a city?

Posted: Mon Nov 05, 2012 7:41 pm
by lisa
yeah the position in skill book of the skills move around, so trying to use the numbers won't work for every character, cast the spell by name and you don't have to worry about where the skill is in skill book =)

Re: How to transport to a city?

Posted: Mon Nov 05, 2012 7:52 pm
by Cindy
Ah thanks, I was about to post that I found an example in the pumpkin script. Thanks! :)