Hi, I've been working on a map that utilizes dialogs to select the hero type(intelligence, strength, agility), type of attack(ranged or melee), and finally the hero.
So, to be able to do this, I made this trigger:
Thus I am here now looking for help
So, to be able to do this, I made this trigger:
-
Hero Choose
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
Wait 2.00 seconds
-
Dialog - Change the title of Dialog to Select your Hero ty...
-
Dialog - Create a dialog button for Dialog labelled |c006600ccIntellige...
-
Set IntelligenceH = (Last created dialog Button)
-
Dialog - Create a dialog button for Dialog labelled |c00cc0000Strength ...
-
Set StrengthH = (Last created dialog Button)
-
Dialog - Create a dialog button for Dialog labelled |c00ffcc33Agility B...
-
Set AgilityH = (Last created dialog Button)
-
Dialog - Show Dialog for Player 1 (Red)
-
Dialog - Show Dialog for Player 2 (Blue)
-
Dialog - Show Dialog for Player 3 (Teal)
-
Dialog - Show Dialog for Player 4 (Purple)
-
Dialog - Show Dialog for Player 5 (Yellow)
-
Dialog - Show Dialog for Player 6 (Orange)
-
Dialog - Show Dialog for Player 7 (Green)
-
Dialog - Show Dialog for Player 8 (Pink)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Clicked dialog button) Equal to AgilityH
-
-
Then - Actions
-
Dialog - Hide Dialog for (Triggering player)
-
Dialog - Show AgilityHeroes for (Triggering player)
-
-
Else - Actions
-
Do nothing
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Clicked dialog button) Equal to StrengthH
-
-
Then - Actions
-
Dialog - Hide Dialog for (Triggering player)
-
Dialog - Show StrengthHeroes for (Triggering player)
-
-
Else - Actions
-
Do nothing
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Triggering player) Equal to Player 1 (Red)
-
(Clicked dialog button) Equal to IntelligenceH
-
-
Then - Actions
-
Dialog - Hide Dialog for (Triggering player)
-
Dialog - Show IntelligenceHeroes for (Triggering player)
-
-
Else - Actions
-
Do nothing
-
-
-
-
Thus I am here now looking for help
