Condition: Dialog Clicked Item

Status
Not open for further replies.
Level 7
Joined
Nov 13, 2006
Messages
243
Hello!

Can someone tell me what is the condition to check what dialog button is clicked and get the Id of the button from a variable? (if i didn't make myself clear (sorry for that), i am talking about a dialog based hero picking system like warcraft 3).


Thanks and have a nice day.
 
I believe the variable must be set as a dialog button. Afterwards, in your conditions, you do the following :

<Your_varaible> == Last dialog button clicked

I don't know if that's precisely how it is, but as soon as I get back home, I'll check my map (I used them to make game options, and yes, they work perfectly) and post what triggers I used to check the conditions :)
 
the condition is called "used dialog item"

to check it just save the button in a dialog item variable on init and then insert this variable in the condition. basically its like in the WE just that you have "used dialog item" instead of "clicked dialog button"
 
Status
Not open for further replies.
Back
Top