I need help with fixing my trigger for a menu box that lets u pick a hero. here the trigger
to spawn hero
My porblem is the Menu wont even poped up.
Code:
Events
-Map initialization
Actions
-Dialog - Change the title of Select to "Select a Hero"
-Dialog - Create a dialog button for Slect labelled "Warrior"
Set Warrior = (Last created Dialog Button)
to spawn hero
Code:
Events
-Dialog - a dialog button is click for Select
Conditions
-(clicked dialog buton) Equal to Warrior
Actions
- Unit Create 1 Warrior for (tirggering player) at (center of Spawn <gen>) facing Default building facing degrees
-Dialog - Hide Select for (triggering player)
My porblem is the Menu wont even poped up.