-
randomuser01
- Posts: 29
- Joined: Mon Jul 19, 2010 7:32 pm
#1
Post
by randomuser01 » Mon Aug 16, 2010 9:25 pm
I've been looking through the API functions and I can't find the function to just click on a menu option that isn't a quest from an NPC.
I'm using streamline, so clicking on "I want to switch my primary and secondary" on a house maid will automatically swap classes, so that part is finished.
I just need the code for actually clicking on that button (It's the 3rd one down in the option list if that helps).
Only thing I could find was in streamline, the code to automatically change class is:
But running that doesn't seem to actually do anything.
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#2
Post
by rock5 » Tue Aug 17, 2010 1:07 am
randomuser01 wrote:I've been looking through the API functions and I can't find the function to just click on a menu option that isn't a quest from an NPC.
I'm using streamline, so clicking on "I want to switch my primary and secondary" on a house maid will automatically swap classes, so that part is finished.
I just need the code for actually clicking on that button (It's the 3rd one down in the option list if that helps).
Only thing I could find was in streamline, the code to automatically change class is:
But running that doesn't seem to actually do anything.
I'm not sure what your confusion is. If you are creating a waypoint file, keypad 6 will insert a "ChoiceOption()" command. You don't need to manually add the command.
The reason you only see discussions about how to accept and complete quests is because you have to add them manually.
But just in case you need to know here's a link to the command;
http://www.theromwiki.com/API:ChoiceOption
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:
- “They say hard work never hurt anybody, but I figure, why take the chance.”
-
randomuser01
- Posts: 29
- Joined: Mon Jul 19, 2010 7:32 pm
#3
Post
by randomuser01 » Tue Aug 17, 2010 5:51 pm
rock5 wrote:randomuser01 wrote:I've been looking through the API functions and I can't find the function to just click on a menu option that isn't a quest from an NPC.
I'm using streamline, so clicking on "I want to switch my primary and secondary" on a house maid will automatically swap classes, so that part is finished.
I just need the code for actually clicking on that button (It's the 3rd one down in the option list if that helps).
Only thing I could find was in streamline, the code to automatically change class is:
But running that doesn't seem to actually do anything.
I'm not sure what your confusion is. If you are creating a waypoint file, keypad 6 will insert a "ChoiceOption()" command. You don't need to manually add the command.
The reason you only see discussions about how to accept and complete quests is because you have to add them manually.
But just in case you need to know here's a link to the command;
http://www.theromwiki.com/API:ChoiceOption
Thank you. My confusion is that it isn't documented anywhere (the keypad 6 option). How was I supposed to know about it if there wasn't anywhere to find out about it?
The wiki doesn't even show how to automatically talk to NPCs and accept/turn in quests (
http://www.solarstrike.net/wiki/index.p ... ily_quests).
I have no problem with reading manuals to find more information, but when the information isn't in the manual, what other avenue is there than to come here and ask?
Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests