Page 1 of 1

<num 6> insert 'choiceoption'<>' command -> what it does ?

Posted: Tue Feb 01, 2011 2:06 am
by Wir
<num 6> insert 'choiceoption'<>' command -> what it does ?

i understand it as choice the option for example daily quest board i want bot to pick 4rd possition on list so i type 4... but nothing happening (yes i mark board -> entered to it and i did all things needed to just accept quest from board)

Re: <num 6> insert 'choiceoption'<>' command -> what it does

Posted: Tue Feb 01, 2011 2:20 am
by JackBlonder
Do you target the black board beforeselecting the option in your waypoint file?

Code: Select all

							player:target_Object("board name");

Re: <num 6> insert 'choiceoption'<>' command -> what it does

Posted: Tue Feb 01, 2011 2:24 am
by rock5
This is only for npc dialog boxes with options. Not for bulletin boards or quests. For example you can use it to select one of the options when talking to your house maid or select the option to open a store when talking to a merchant.

I don't think there are any documented methods to select quests from the bulletin board although I see a lot of related function on the rom wiki list of functions so someone could create a userfunctions file for it.

Re: <num 6> insert 'choiceoption'<>' command -> what it does

Posted: Tue Feb 01, 2011 2:41 am
by lisa
something along the lines of this.

Code: Select all

		player:target_NPC("Obsidian Stronghold Bulletin Board");
		sendMacro("OnClick_QuestListButton(1, 4)");  yrest(2000);
		sendMacro("AcceptQuest()"); yrest(2000);
When picking quests you need to use the code I provided.

The choice is only for NPC that are choices and not quests.

Code: Select all

		player:target_NPC("Mayren");
		sendMacro("ChoiceOption(3);");
Just for more info to complete a quest you need to use.

Code: Select all

		player:target_NPC("Oder");
		sendMacro("OnClick_QuestListButton(3, 1)");  yrest(2000);
		sendMacro("CompleteQuest()");
The (3, *) is to hand in a completed quest,
(1, *) is to accept a quest.

I attached my cactus daily WP, 3 quests from same board and handed in to same NPC, it's in Obsidian Stronghold.
This is set up to change class aswell, it is for doing dailys on a character that is 50/35, so gets quest on the lvl 50, switches to second class lvl 35 and then hands in all 3 quests at the same time.
So you can see a working usage.

Re: <num 6> insert 'choiceoption'<>' command -> what it does

Posted: Tue Feb 01, 2011 2:42 am
by Wir
ok i will try it thx

Re: <num 6> insert 'choiceoption'<>' command -> what it does

Posted: Tue Feb 01, 2011 8:33 am
by rock5
Still it would be nice if there were functions for taking quests by name for example which would require getting the info about the quests from the board.

I think I'll add it to my todo list.

Re: <num 6> insert 'choiceoption'<>' command -> what it does

Posted: Tue Feb 01, 2011 9:12 am
by lisa
I thought it already was on your todo list, only reason I haven't been looking into it lol

Re: <num 6> insert 'choiceoption'<>' command -> what it does

Posted: Tue Feb 01, 2011 3:57 pm
by jduartedj
me too!

the problem is if the option in question is a quest accept/deliver then a diff code would have to be used. I don't know how exactly to approach this.

Re: <num 6> insert 'choiceoption'<>' command -> what it does

Posted: Tue Feb 01, 2011 6:31 pm
by rock5
No, I had accepting and completing quests on my list buy not bulletin boards. Maybe they could be somehow merged and tackled at once? Hm...

Re: <num 6> insert 'choiceoption'<>' command -> what it does

Posted: Tue Feb 01, 2011 9:07 pm
by lisa
the boards and npc quests should work in the same maner, I don't see any difference to them except the boards are only daily's so therefore only have the blue icon and not yellow.

Re: <num 6> insert 'choiceoption'<>' command -> what it does

Posted: Tue Feb 01, 2011 11:37 pm
by rock5
Ah yes, my memory is not so good. I haven't done quests from a board in ages and for some reason I seemed to remember them being different than normal dialogs. My bad.