What have I done wrong here?
-
ContinueWarrior
-
Events
- Dialog - A dialog button is clicked for Dialog
-
Conditions
- (Clicked dialog button) Equal to WarriorButton
-
Actions
- Unit - Create 1 Mountain King for (Triggering player) at (Center of (Playable map area)) facing Default building facing degrees
- Camera - Lock camera target for (Owner of (Last created unit)) to (Last created unit), offset by (0.00, 0.00) using Default rotation
- Game - Display to (All players) the text: ((Name of (Triggering player)) + has chosen the |cffff0000Warrior|r)
- Special Effect - Create a special effect attached to the overhead of (Last created unit) using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
- Set Player = (Owner of (Last created unit))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Last created unit)) Equal to Player 1 (Red)
-
Then - Actions
- Player Group - Add Player 1 (Red) to AllianceGroup
- Set AllianceCreatedUnit = (Last created unit)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Last created unit)) Equal to Player 2 (Blue)
-
Then - Actions
- Player Group - Add Player 2 (Blue) to AllianceGroup
- Set AllianceCreatedUnit = (Last created unit)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Last created unit)) Equal to Player 3 (Teal)
-
Then - Actions
- Player Group - Add Player 3 (Teal) to AllianceGroup
- Set AllianceCreatedUnit = (Last created unit)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Last created unit)) Equal to Player 4 (Purple)
-
Then - Actions
- Player Group - Add Player 4 (Purple) to AllianceGroup
- Set AllianceCreatedUnit = (Last created unit)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Last created unit)) Equal to Player 5 (Yellow)
-
Then - Actions
- Player Group - Add Player 5 (Yellow) to AllianceGroup
- Set AllianceCreatedUnit = (Last created unit)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Last created unit)) Equal to Player 8 (Pink)
-
Then - Actions
- Player Group - Add Player 8 (Pink) to HordeGroup
- Set HordeCReatedUnit = (Last created unit)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Last created unit)) Equal to Player 9 (Gray)
-
Then - Actions
- Player Group - Add Player 9 (Gray) to HordeGroup
- Set HordeCReatedUnit = (Last created unit)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Last created unit)) Equal to Player 10 (Light Blue)
-
Then - Actions
- Player Group - Add Player 10 (Light Blue) to HordeGroup
- Set HordeCReatedUnit = (Last created unit)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Last created unit)) Equal to Player 11 (Dark Green)
-
Then - Actions
- Player Group - Add Player 11 (Dark Green) to HordeGroup
- Set HordeCReatedUnit = (Last created unit)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Last created unit)) Equal to Player 12 (Brown)
-
Then - Actions
- Player Group - Add Player 12 (Brown) to HordeGroup
- Set HordeCReatedUnit = (Last created unit)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- HordeCReatedUnit Equal to (Last created unit)
-
Then - Actions
- Unit - Move HordeCReatedUnit instantly to (Center of StartPositionOrc <gen>)
- Player Group - Make HordeGroup treat HordeGroup as an Ally with shared vision
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- AllianceCreatedUnit Equal to (Last created unit)
-
Then - Actions
- Unit - Move AllianceCreatedUnit instantly to (Center of StartPositionHuman <gen>)
- Player Group - Make AllianceGroup treat AllianceGroup as an Ally with shared vision
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Events