Page 1 of 1

select from a list

Posted: Thu Mar 31, 2011 8:04 pm
by onehand2
Hello :D

i open a dialogue
there are 3 choices for me(none quests)
is there a funtion to help me select from dialogue?

Re: select from a list

Posted: Thu Mar 31, 2011 8:25 pm
by rock5
You can use

Code: Select all

sendMacro("ChoiceOption(n)")
where 'n' is the option number. Createpath.lua uses this so when using createpath, after pressing '5' to target the npc, press '6' to enter the choice you want to pick. You have to enter it in the Micromacro window.

If you want better control you could try JackBlonder's questbyname userfunction.