Page 1 of 1
Using micromacro to transport with Snoop
Posted: Tue Oct 25, 2011 12:22 pm
by Alleexx
Hello!
I would like to be able to make a waypoint that will take me from Heffner Camp to Frontline camp (In Xaviera), by teleporting with snoop the stubborn.
I'm just not sure how I can make the bot click the "Yes" button on the popup window.
Does anyone know how that would be possible or maybe know about an addon that can auto teleport? I have searched on google but can't find anything.
Re: Using micromacro to transport with Snoop
Posted: Tue Oct 25, 2011 3:13 pm
by xplar
Code: Select all
player:target_NPC("Snoop")
sendMacro("ChoiceOption(1)")
something like that can be used to target the npc snoop and open the dialogue, then the choiceoption 1 will select the first option in the list (change it as needed). you will need to set a few waypoints that are in front of each teleporter and put that code in the waypoint tags. you will also need it to wait for the loading screen after you teleport. im not sure how to accept the charges for teleporting though.
Re: Using micromacro to transport with Snoop
Posted: Tue Oct 25, 2011 3:35 pm
by kiato
put an yrest(1000); after the sendMacro line, the client needs to undertsand that u are choosing an option (i tried to teleport in that way and just works with an yrest after every changeOption)
Re: Using micromacro to transport with Snoop
Posted: Tue Oct 25, 2011 3:36 pm
by kanta
After the choice code, try putting this after:
Code: Select all
yrest(2000);
RoMScript("StaticPopup_OnClick(StaticPopup1, 1);")
Or you could try this addon from curse.com
http://www.curse.com/addons/rom/quick-teleport
Re: Using micromacro to transport with Snoop
Posted: Tue Oct 25, 2011 5:30 pm
by Rickster
You can use this to accept dialogues with yes/no option
Code: Select all
RoMScript("OnClick_RequestDialogAccept()");
Re: Using micromacro to transport with Snoop
Posted: Tue Oct 25, 2011 9:03 pm
by lisa
I use this
Code: Select all
player:target_NPC("Snoop the Stubborn");
sendMacro("ChoiceOption(2);");
yrest(1000)
sendMacro('StaticPopup_OnClick(StaticPopup1, 1);')
waitForLoadingScreen();
obviously change the choiceoption to where you want to go depending on which snoop it is.
Re: Using micromacro to transport with Snoop
Posted: Wed Oct 26, 2011 1:00 am
by Alleexx
Thanks for the help everyone!
