- Joined
- May 11, 2012
- Messages
- 2,108
-
(Number of units in (Units in (Playable map area) matching ((((Matching unit) is A structure) Equal to False) and (((Matching unit) belongs to an enemy of Player 11 (Dark Green)) Equal to True)))) Equal to 0



Ignore the first ITE part, it works
But the second ITE doesn't works. What's the problem?
-
Enemy Bosses Death and Second Part
-

Events
-


Unit - A unit Dies
-
-

Conditions
-

Actions
-


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



If - Conditions
-




(Triggering unit) Equal to FinalWave_Bosses[1]
-
-



Then - Actions
-




Set TempString = (PlayerColors[(Player number of (Owner of (Killing unit)))] + ((Name of (Killing unit)) + ( |c00FFCD00Pwned + (PlayerColors[12] + Unbroken's |c00FFCD00Head and earned 100 000 Gold))))
-




Game - Display to (All players) the text: TempString
-




Player - Add 100000 to (Owner of (Killing unit)) Current gold
-




Set TempString = <Empty String>
-
-



Else - Actions
-




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





If - Conditions
-






(Triggering unit) Equal to FinalWave_Bosses[2]
-
-





Then - Actions
-






Set TempString = (PlayerColors[(Player number of (Owner of (Killing unit)))] + ((Name of (Killing unit)) + ( |c00FFCD00Pwned + (PlayerColors[12] + Ogre Idiot's |c00FFCD00Head and earned 100 000 Gold))))
-






Game - Display to (All players) the text: TempString
-






Player - Add 100000 to (Owner of (Killing unit)) Current gold
-






Set TempString = <Empty String>
-
-





Else - Actions
-






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







If - Conditions
-








(Triggering unit) Equal to FinalWave_Bosses[3]
-
-







Then - Actions
-








Set TempString = (PlayerColors[(Player number of (Owner of (Killing unit)))] + ((Name of (Killing unit)) + ( |c00FFCD00Pwned + (PlayerColors[12] + Skeleton Singer's |c00FFCD00Head and earned 100 000 Gold))))
-








Game - Display to (All players) the text: TempString
-








Player - Add 100000 to (Owner of (Killing unit)) Current gold
-








Set TempString = <Empty String>
-
-







Else - Actions
-








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









If - Conditions
-










(Triggering unit) Equal to FinalWave_Bosses[4]
-
-









Then - Actions
-










Set TempString = (PlayerColors[(Player number of (Owner of (Killing unit)))] + ((Name of (Killing unit)) + ( |c00FFCD00Pwned + (PlayerColors[12] + Shadow Alike's |c00FFCD00Head and earned 100 000 Gold))))
-










Game - Display to (All players) the text: TempString
-










Player - Add 100000 to (Owner of (Killing unit)) Current gold
-










Set TempString = <Empty String>
-
-









Else - Actions
-
-
-
-
-
-
-
-


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



If - Conditions
-




(Number of units in (Units in (Playable map area) matching ((((Matching unit) is A structure) Equal to False) and (((Matching unit) belongs to an enemy of Player 11 (Dark Green)) Equal to True)))) Equal to 0
-
-



Then - Actions
-




Countdown Timer - Start FinalWave_Timer[3] as a One-shot timer that will expire in 30.00 seconds
-




Countdown Timer - Create a timer window for (Last started timer) with title Creep Marathon:
-




Set FinalWaveTimerWindow = (Last created timer window)
-




Countdown Timer - Show FinalWaveTimerWindow
-




Set FinalWave_Integer = 0
-




Trigger - Turn off (This trigger)
-
-



Else - Actions
-
-
-




