Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Enter

Events


Unit - A unit enters Region 000 <gen>

Conditions


//Add your condition here (example, triggering unit is a hero equals to true)

Actions


Dialog - Change the title of Variable_Dialog to Choose Bonus Mode


Dialog - Create a dialog button for Variable_Dialog labelled Hero Image


Set Variable_DialogButtons[1] = (Last created dialog Button)


Dialog - Create a dialog button for Variable_Dialog labelled All Image


Set Variable_DialogButtons[2] = (Last created dialog Button)


Dialog - Create a dialog button for Variable_Dialog labelled whatever...


Set Variable_DialogButtons[3] = (Last created dialog Button)


Dialog - Show Variable_Dialog for (Owner of (Triggering unit))
Chosen

Events


Dialog - A dialog button is clicked for Variable_Dialog

Conditions

Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




(Clicked dialog button) Equal to Variable_DialogButtons[1]



Then - Actions




//actions for Hero Image



Else - Actions




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






(Clicked dialog button) Equal to Variable_DialogButtons[2]





Then - Actions






//actions for All Image





Else - Actions






//whatever actions you want for if dialog button[3] is clicked
I don't know what's the problem with the trigger that you gave me. It works fine. (o.o)MajorKaza said:By the way. There should be turn on/turn off too. Check this:
https://www.hiveworkshop.com/forums/a...-text-text.w3x
Hmm? I'm not sure what you mean there. Well, if you follow my trigger. It will works. If you want to create another dialog after the player clicked the first one, you can just clear the Variable_Dialog then set a new one for it.MajorKaza said:i don't have editor here but... Don't dialog needs to show up not only change title?
