Page 1 of 1
Swap secondary class
Posted: Mon Aug 16, 2010 9:25 pm
by randomuser01
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.
Re: Swap secondary class
Posted: Tue Aug 17, 2010 1:07 am
by rock5
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
Re: Swap secondary class
Posted: Tue Aug 17, 2010 5:51 pm
by randomuser01
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?