Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
84_SplatTD.w3x
Variables
Initialization
Melee Initialization
Init Vars
Play Sounds
Enable Periodic Spawn
Timer
Timer
Leaderboard
Init LB
Add Kills
Building
attack
Select Splatter
Deselect Splatter
Finish Upgrade
Selling
Effect
Sell
Spawning
Increase Level
Periodic Spawn
Pathing
North 1
North 2
North 3
NW 1
NW 2
NW 3
West 1
West 2
West 3
SW 1
SW 2
SW 3
South 1
South 2
South 3
SE 1
SE 2
SE 3
East 1
East 2
East 3
NE 1
NE 2
NE 3
Lives
End 1
End 2
End 3
End 4
Lose Life
Defeat
Defeat
End Defeat
Victory
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.
Name
Type
is_array
initial_value
Kills
integer
Yes
Level
integer
No
0
LevelTimer
timer
No
Lives
integer
No
50
TurnRight
boolean
Yes
Unit
unitcode
Yes
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Visibility - Disable fog of war
Visibility - Disable black mask
Player - Turn Gives bounty On for Player 9 (Gray)
Player - Turn Gives bounty On for Player 10 (Light Blue)
Player - Turn Gives bounty On for Player 11 (Dark Green)
Player - Turn Gives bounty On for Player 12 (Brown)
Player Group - Pick every player in (All players) and do (Set (Picked player).Current gold to 150)
Init Vars
Events
Map initialization
Conditions
Actions
Set Variable Set Unit[1] = "h000"
Set Variable Set Unit[2] = "h006"
Set Variable Set Unit[3] = "h007"
Set Variable Set Unit[4] = "h008"
Set Variable Set Unit[5] = "h009"
Set Variable Set Unit[6] = "h00F"
Set Variable Set Unit[7] = "h00G"
Set Variable Set Unit[8] = "h00Q"
Set Variable Set Unit[9] = "h00R"
Set Variable Set Unit[10] = "h00S"
Set Variable Set Unit[11] = "h00T"
Set Variable Set Unit[12] = "h00H"
Set Variable Set Unit[13] = "h00U"
Set Variable Set Unit[14] = "h00W"
Set Variable Set Unit[15] = "h00V"
Set Variable Set Unit[16] = "e000"
Play Sounds
Events
Time - Elapsed game time is 0.10 seconds
Conditions
Actions
Sound - Play firewithfire <gen>
Wait 2.40 game-time seconds
Sound - Play firewithfire01 <gen>
Wait 2 game-time seconds
Sound - Play firewithfire02 <gen>
Wait 2 game-time seconds
Sound - Play firewithfire03 <gen>
Wait 1.60 game-time seconds
Sound - Play firewithfire04 <gen>
Wait 1.40 game-time seconds
Sound - Play firewithfire05 <gen>
Wait 1.20 game-time seconds
Sound - Play firewithfire06 <gen>
Wait 1.10 game-time seconds
Enable Periodic Spawn
Events
Time - Elapsed game time is 20.00 seconds
Conditions
Actions
Trigger - Turn on Periodic_Spawn <gen>
Leaderboard - Sort (Last created leaderboard) by Value in Descending order
Timer
Events
Time - Elapsed game time is 0.50 seconds
Conditions
Actions
Countdown Timer - Create a timer window for LevelTimer with title Beginn in:
Countdown Timer - Show (Last created timer window)
Countdown Timer - Start LevelTimer as a One-shot timer that will expire in 19.50 seconds
Wait 20.00 game-time seconds
Init LB
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled (Kills Lives : + (String(Lives)))
Leaderboard - Show (Last created leaderboard)
For each (Integer A) from 1 to 8 , do (Actions)
Loop - Actions
Leaderboard - Add (Player((Integer A))) to (Last created leaderboard) with label (Name of (Player((Integer A)))) and value Kills[(Integer A)]
Add Kills
Events
Unit - A unit Dies
Conditions
Actions
Set Variable Set Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] + 1)
Leaderboard - Change the value for (Player((Player number of (Owner of (Killing unit))))) in (Last created leaderboard) to Kills[(Player number of (Owner of (Killing unit)))]
Leaderboard - Sort (Last created leaderboard) by Value in Descending order
attack
Events
Time - Every 5.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Picked unit)) Not equal to Upgrade Center
(Unit-type of (Picked unit)) Not equal to Box
(Owner of (Picked unit)) Not equal to Player 9 (Gray)
(Owner of (Picked unit)) Not equal to Player 10 (Light Blue)
(Owner of (Picked unit)) Not equal to Player 11 (Dark Green)
(Owner of (Picked unit)) Not equal to Player 12 (Brown)
Then - Actions
Unit - Order (Picked unit) to Attack Ground . ((Position of (Picked unit)) offset by 525.00 towards (Facing of (Picked unit)) degrees.)
Else - Actions
Do nothing
Select Splatter
Events
Player - Player 1 (Red) Selects a unit
Player - Player 2 (Blue) Selects a unit
Player - Player 3 (Teal) Selects a unit
Player - Player 4 (Purple) Selects a unit
Player - Player 5 (Yellow) Selects a unit
Player - Player 6 (Orange) Selects a unit
Player - Player 7 (Green) Selects a unit
Player - Player 8 (Pink) Selects a unit
Conditions
(Unit-type of (Triggering unit)) Equal to Box
(Owner of (Triggering unit)) Equal to Neutral Passive
Actions
Unit - Change ownership of (Triggering unit) to (Triggering player) and Change color
Deselect Splatter
Events
Player - Player 1 (Red) Deselects a unit
Player - Player 2 (Blue) Deselects a unit
Player - Player 3 (Teal) Deselects a unit
Player - Player 4 (Purple) Deselects a unit
Player - Player 5 (Yellow) Deselects a unit
Player - Player 6 (Orange) Deselects a unit
Player - Player 7 (Green) Deselects a unit
Player - Player 8 (Pink) Deselects a unit
Conditions
(Unit-type of (Triggering unit)) Equal to Box
(Owner of (Triggering unit)) Not equal to Neutral Passive
Actions
Unit - Change ownership of (Triggering unit) to Neutral Passive and Change color
Finish Upgrade
Events
Unit - A unit Finishes an upgrade
Conditions
Actions
Unit - Order (Triggering unit) to Attack Ground . ((Position of (Triggering unit)) offset by 525.00 towards (Facing of (Triggering unit)) degrees.)
Effect
Events
Conditions
Actions
Sound - Play ReceiveGold <gen> at 100 % volume, located at (Position of (Casting unit)) with Z offset 0
Floating Text - Create floating text that reads (|cffffdd00+ + (String((Point-value of (Triggering unit))))) at ((Position of (Casting unit)) offset by (-35.00, 50.00)) with Z offset 0 , using font size 10 , color ( 100.00 %, 100.00 %, 100.00 %), and 0 % transparency
Floating Text - Set the velocity of (Last created floating text) to 64 towards 90 degrees
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
Floating Text - Set the velocity of (Last created floating text) to 64 towards 90 degrees
Floating Text - Change the lifespan of (Last created floating text) to 5.00 seconds
Sell
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Sell
Actions
Player - Add (Point-value of (Casting unit)) to (Owner of (Casting unit)) . Current gold
Unit - Change ownership of (Casting unit) to Neutral Passive and Change color
Unit - Replace (Casting unit) with a Box using The new unit's default life and mana
Trigger - Run Effect <gen> (ignoring conditions)
Increase Level
Events
Time - LevelTimer expires
Conditions
Actions
Set Variable Set Level = (Level + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Level Equal to 15
Then - Actions
Player Group - Pick every player in (All players) and do (Victory (Picked player) (Show dialogs, Show scores))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Level Equal to 14
Then - Actions
Countdown Timer - Change the title of (Last created timer window) to Game will End in:
Countdown Timer - Start LevelTimer as a One-shot timer that will expire in 120.00 seconds
Game - Display to (All players) the text: You've almost Won!Just hang in there a little longer!
Else - Actions
Countdown Timer - Change the title of (Last created timer window) to (Level + (String(Level)))
Countdown Timer - Start LevelTimer as a One-shot timer that will expire in 100.00 seconds
Periodic Spawn
Events
Time - Every 0.75 seconds of game time
Conditions
Actions
-------- Light Blue --------
Unit - Create 1 . Unit[Level] for Player 10 (Light Blue) at (Center of Start_North <gen>) facing Default building facing degrees
Unit - Turn collision for (Last created unit) Off .
Unit - Order (Last created unit) to Move To . (Center of North_2 <gen>)
-------- Brown --------
Unit - Create 1 . Unit[Level] for Player 12 (Brown) at (Center of Start_East <gen>) facing Default building facing degrees
Unit - Turn collision for (Last created unit) Off .
Unit - Order (Last created unit) to Move To . (Center of East_2 <gen>)
-------- Gray --------
Unit - Create 1 . Unit[Level] for Player 9 (Gray) at (Center of Start_South <gen>) facing Default building facing degrees
Unit - Turn collision for (Last created unit) Off .
Unit - Order (Last created unit) to Move To . (Center of South_2 <gen>)
-------- Dark Green --------
Unit - Create 1 . Unit[Level] for Player 11 (Dark Green) at (Center of Start_West <gen>) facing Default building facing degrees
Unit - Turn collision for (Last created unit) Off .
Unit - Order (Last created unit) to Move To . (Center of West_2 <gen>)
North 1
Events
Unit - A unit enters North_1 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of NE_3 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of North_2 <gen>)
Else - Actions
Do nothing
North 2
Events
Unit - A unit enters North_2 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TurnRight[1] Equal to True
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of North_3 <gen>)
Else - Actions
Unit - Order (Triggering unit) to Move To . (Center of North_1 <gen>)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TurnRight[1] Equal to True
Then - Actions
Set Variable Set TurnRight[1] = "false"
Else - Actions
Set Variable Set TurnRight[1] = "true"
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of Start_North <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of North_1 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of North_3 <gen>)
Else - Actions
Do nothing
North 3
Events
Unit - A unit enters North_3 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of NW_1 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of North_2 <gen>)
Else - Actions
Do nothing
NW 1
Events
Unit - A unit enters NW_1 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of NW_2 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of North_3 <gen>)
Else - Actions
Do nothing
NW 2
Events
Unit - A unit enters NW_2 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of NW_3 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of NW_1 <gen>)
Else - Actions
Do nothing
NW 3
Events
Unit - A unit enters NW_3 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of West_1 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of NW_2 <gen>)
Else - Actions
Do nothing
West 1
Events
Unit - A unit enters West_1 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of West_2 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of NW_3 <gen>)
Else - Actions
Do nothing
West 2
Events
Unit - A unit enters West_2 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TurnRight[4] Equal to True
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of West_3 <gen>)
Else - Actions
Unit - Order (Triggering unit) to Move To . (Center of West_1 <gen>)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TurnRight[4] Equal to True
Then - Actions
Set Variable Set TurnRight[4] = "false"
Else - Actions
Set Variable Set TurnRight[4] = "true"
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of West_1 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of West_3 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of Start_West <gen>)
Else - Actions
Do nothing
West 3
Events
Unit - A unit enters West_3 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of SW_1 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of West_2 <gen>)
Else - Actions
Do nothing
SW 1
Events
Unit - A unit enters SW_1 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of SW_2 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of West_3 <gen>)
Else - Actions
Do nothing
SW 2
Events
Unit - A unit enters SW_2 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of SW_3 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of SW_1 <gen>)
Else - Actions
Do nothing
SW 3
Events
Unit - A unit enters SW_3 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of South_1 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of SW_2 <gen>)
Else - Actions
Do nothing
South 1
Events
Unit - A unit enters South_1 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of South_2 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of SW_3 <gen>)
Else - Actions
Do nothing
South 2
Events
Unit - A unit enters South_2 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TurnRight[3] Equal to True
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of South_3 <gen>)
Else - Actions
Unit - Order (Triggering unit) to Move To . (Center of South_1 <gen>)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TurnRight[3] Equal to True
Then - Actions
Set Variable Set TurnRight[3] = "false"
Else - Actions
Set Variable Set TurnRight[3] = "true"
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of Start_South <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of South_3 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of South_1 <gen>)
Else - Actions
Do nothing
South 3
Events
Unit - A unit enters South_3 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of South_2 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of SE_1 <gen>)
Else - Actions
Do nothing
SE 1
Events
Unit - A unit enters SE_1 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of South_3 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of SE_2 <gen>)
Else - Actions
Do nothing
SE 2
Events
Unit - A unit enters SE_2 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of SE_1 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of SE_3 <gen>)
Else - Actions
Do nothing
SE 3
Events
Unit - A unit enters SE_3 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of SE_2 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of East_1 <gen>)
Else - Actions
Do nothing
East 1
Events
Unit - A unit enters East_1 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of SE_3 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of East_2 <gen>)
Else - Actions
Do nothing
East 2
Events
Unit - A unit enters East_2 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TurnRight[2] Equal to True
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of East_3 <gen>)
Else - Actions
Unit - Order (Triggering unit) to Move To . (Center of East_1 <gen>)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TurnRight[2] Equal to True
Then - Actions
Set Variable Set TurnRight[2] = "false"
Else - Actions
Set Variable Set TurnRight[2] = "true"
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of East_3 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of Start_East <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of East_1 <gen>)
Else - Actions
Do nothing
East 3
Events
Unit - A unit enters East_3 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of East_2 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of NE_1 <gen>)
Else - Actions
Do nothing
NE 1
Events
Unit - A unit enters NE_1 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of East_3 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of NE_2 <gen>)
Else - Actions
Do nothing
NE 2
Events
Unit - A unit enters NE_2 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of NE_1 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of NE_3 <gen>)
Else - Actions
Do nothing
NE 3
Events
Unit - A unit enters NE_3 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of NE_2 <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of North_1 <gen>)
Else - Actions
Do nothing
End 1
Events
Unit - A unit enters Start_North <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
Actions
Trigger - Run Lose_Life <gen> (ignoring conditions)
End 2
Events
Unit - A unit enters Start_East <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
Actions
Trigger - Run Lose_Life <gen> (ignoring conditions)
End 3
Events
Unit - A unit enters Start_South <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
Actions
Trigger - Run Lose_Life <gen> (ignoring conditions)
End 4
Events
Unit - A unit enters Start_West <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Actions
Trigger - Run Lose_Life <gen> (ignoring conditions)
Lose Life
Events
Conditions
Actions
Game - Display to (All players) the text: (|c00ffd080You lost one of your + ((String(Lives)) + lives!))
Unit - Explode (Triggering unit) .
Set Variable Set Lives = (Lives - 1)
Leaderboard - Change the title of (Last created leaderboard) to (Kills Lives : + (String(Lives)))
If (Lives Less than or equal to 0) then do (Run Defeat <gen> (checking conditions)) else do (Do nothing)
If (Lives Less than or equal to 0) then do (Turn off (This trigger)) else do (Do nothing)
Defeat
Events
Conditions
Actions
Trigger - Turn off Periodic_Spawn <gen>
Trigger - Turn off Increase_Level <gen>
Trigger - Turn off Add_Kills <gen>
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Explode (Picked unit).)
Countdown Timer - Change the title of (Last created timer window) to Game will End in:
Countdown Timer - Start LevelTimer as a One-shot timer that will expire in 30.00 seconds
Game - Display to (All players) the text: You Lose!The Game will End in 30 Seconds!
Trigger - Turn on End_Defeat <gen>
End Defeat
Events
Time - LevelTimer expires
Conditions
Actions
Player Group - Pick every player in (All players) and do (Defeat (Picked player) with the message: Defeat!)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.