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
Zombie Tag v 1.2.w3x
Variables
Initialization
Timer
Zombie Spaw
Speed Zombie Spaw
Zombie King Spraw
Undead Hero Spaw
Player Dies
Flag 1
Flag 2
Flag 3
Flag 4
Flag 5
Flag 6
Flag 7
Flag 8
Flag 9
Flag 10
Player
Player
Save
Attack 1
Enable Attack
Player Dies
Flag 1 Copy
Flag 2 Copy
Flag 3 Copy
Flag 4 Copy
Flag 5 Copy
Flag 6 Copy
Flag 7 Copy
Flag 8 Copy
Flag 9 Copy
Flag 10 Copy
Victory
Victory
Defeat
Lose
Leaver
Player 1
Player 2
Player 3
Player 4
Player 5
Player 6
Player 7
Player 8
Player 9
Player 10
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
Timer
timer
No
Timer
Events
Time - Elapsed game time is 0.10 seconds
Conditions
Actions
Countdown Timer - Create a timer window for Timer with title Time When Zombie Die
Countdown Timer - Start Timer as a One-shot timer that will expire in 1800.00 seconds
Zombie Spaw
Events
Time - Every 45.00 seconds of game time
Conditions
Actions
If ((Player 11 (Dark Green) slot status) Equal to Is playing) then do (Create 2.Zombie for Player 11 (Dark Green) at (Center of (Playable map area)) facing Default building facing degrees) else do (Do nothing)
Speed Zombie Spaw
Events
Time - Every 300.00 seconds of game time
Conditions
Actions
If ((Player 12 (Brown) slot status) Equal to Is playing) then do (Create 3.Speed Zombie for Player 12 (Brown) at (Center of (Playable map area)) facing Default building facing degrees) else do (Do nothing)
Zombie King Spraw
Events
Time - Every 1200.00 seconds of game time
Conditions
Actions
If ((Player 12 (Brown) slot status) Equal to Is playing) then do (Create 1.Zombie King for Player 12 (Brown) at (Center of (Playable map area)) facing Default building facing degrees) else do (Do nothing)
Undead Hero Spaw
Events
Time - Every 1200.00 seconds of game time
Conditions
Actions
If ((Player 12 (Brown) slot status) Equal to Is playing) then do (Create 1.Vampire for Player 12 (Brown) at (Center of (Playable map area)) facing Default building facing degrees) else do (Do nothing)
Flag 1
Events
Unit - A unit owned by Player 1 (Red) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Priest
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Remove (Picked unit) from the game)
Wait 0.50 seconds
Unit - Create 1 . Shade for Player 1 (Red) at (Random point in Region_013 <gen>) facing Default building facing degrees
Game - Display to (Player group((Owner of (Triggering unit)))) the text: Had Be Kill but his soul remain at middle
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_013 <gen>) over 0 seconds
Flag 2
Events
Unit - A unit owned by Player 2 (Blue) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Priest
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Remove (Picked unit) from the game)
Wait 0.50 seconds
Unit - Create 1 . Shade for Player 2 (Blue) at (Random point in Region_013 <gen>) facing Default building facing degrees
Game - Display to (Player group((Owner of (Triggering unit)))) the text: Had Be Kill but his soul remain at middle
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_013 <gen>) over 0 seconds
Flag 3
Events
Unit - A unit owned by Player 3 (Teal) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Priest
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Remove (Picked unit) from the game)
Wait 0.50 seconds
Unit - Create 1 . Shade for Player 3 (Teal) at (Random point in Region_013 <gen>) facing Default building facing degrees
Game - Display to (Player group((Owner of (Triggering unit)))) the text: Had Be Kill but his soul remain at middle
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_013 <gen>) over 0 seconds
Flag 4
Events
Unit - A unit owned by Player 4 (Purple) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Priest
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Remove (Picked unit) from the game)
Wait 0.50 seconds
Unit - Create 1 . Shade for Player 4 (Purple) at (Random point in Region_013 <gen>) facing Default building facing degrees
Game - Display to (Player group((Owner of (Triggering unit)))) the text: Had Be Kill but his soul remain at middle
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_013 <gen>) over 0 seconds
Flag 5
Events
Unit - A unit owned by Player 5 (Yellow) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Priest
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Remove (Picked unit) from the game)
Wait 0.50 seconds
Unit - Create 1 . Shade for Player 5 (Yellow) at (Random point in Region_013 <gen>) facing Default building facing degrees
Game - Display to (Player group((Owner of (Triggering unit)))) the text: Had Be Kill but his soul remain at middle
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_013 <gen>) over 0 seconds
Flag 6
Events
Unit - A unit owned by Player 6 (Orange) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Priest
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Remove (Picked unit) from the game)
Wait 0.50 seconds
Unit - Create 1 . Shade for Player 6 (Orange) at (Random point in Region_013 <gen>) facing Default building facing degrees
Game - Display to (Player group((Owner of (Triggering unit)))) the text: Had Be Kill but his soul remain at middle
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_013 <gen>) over 0 seconds
Flag 7
Events
Unit - A unit owned by Player 7 (Green) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Priest
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Remove (Picked unit) from the game)
Wait 0.50 seconds
Unit - Create 1 . Shade for Player 7 (Green) at (Random point in Region_013 <gen>) facing Default building facing degrees
Game - Display to (Player group((Owner of (Triggering unit)))) the text: Had Be Kill but his soul remain at middle
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_013 <gen>) over 0 seconds
Flag 8
Events
Unit - A unit owned by Player 8 (Pink) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Priest
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Remove (Picked unit) from the game)
Wait 0.50 seconds
Unit - Create 1 . Shade for Player 8 (Pink) at (Random point in Region_013 <gen>) facing Default building facing degrees
Game - Display to (Player group((Owner of (Triggering unit)))) the text: Had Be Kill but his soul remain at middle
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_013 <gen>) over 0 seconds
Flag 9
Events
Unit - A unit owned by Player 9 (Gray) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Priest
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Remove (Picked unit) from the game)
Wait 0.50 seconds
Unit - Create 1 . Shade for Player 9 (Gray) at (Random point in Region_013 <gen>) facing Default building facing degrees
Game - Display to (Player group((Owner of (Triggering unit)))) the text: Had Be Kill but his soul remain at middle
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_013 <gen>) over 0 seconds
Flag 10
Events
Unit - A unit owned by Player 10 (Light Blue) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Priest
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Remove (Picked unit) from the game)
Wait 0.50 seconds
Unit - Create 1 . Shade for Player 10 (Light Blue) at (Random point in Region_013 <gen>) facing Default building facing degrees
Game - Display to (Player group((Owner of (Triggering unit)))) the text: Had Be Kill but his soul remain at middle
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_013 <gen>) over 0 seconds
Player
Events
Map initialization
Conditions
Actions
If ((Player 1 (Red) slot status) Equal to Is playing) then do (Create 1.Priest for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees) else do (Do nothing)
If ((Player 2 (Blue) slot status) Equal to Is playing) then do (Create 1.Priest for Player 2 (Blue) at (Center of (Playable map area)) facing Default building facing degrees) else do (Do nothing)
If ((Player 3 (Teal) slot status) Equal to Is playing) then do (Create 1.Priest for Player 3 (Teal) at (Center of (Playable map area)) facing Default building facing degrees) else do (Do nothing)
If ((Player 4 (Purple) slot status) Equal to Is playing) then do (Create 1.Priest for Player 4 (Purple) at (Center of (Playable map area)) facing Default building facing degrees) else do (Do nothing)
If ((Player 5 (Yellow) slot status) Equal to Is playing) then do (Create 1.Priest for Player 5 (Yellow) at (Center of (Playable map area)) facing Default building facing degrees) else do (Do nothing)
If ((Player 6 (Orange) slot status) Equal to Is playing) then do (Create 1.Priest for Player 6 (Orange) at (Center of (Playable map area)) facing Default building facing degrees) else do (Do nothing)
If ((Player 7 (Green) slot status) Equal to Is playing) then do (Create 1.Priest for Player 7 (Green) at (Center of (Playable map area)) facing Default building facing degrees) else do (Do nothing)
If ((Player 8 (Pink) slot status) Equal to Is playing) then do (Create 1.Priest for Player 8 (Pink) at (Center of (Playable map area)) facing Default building facing degrees) else do (Do nothing)
If ((Player 9 (Gray) slot status) Equal to Is playing) then do (Create 1.Priest for Player 9 (Gray) at (Center of (Playable map area)) facing Default building facing degrees) else do (Do nothing)
If ((Player 10 (Light Blue) slot status) Equal to Is playing) then do (Create 1.Priest for Player 10 (Light Blue) at (Center of (Playable map area)) facing Default building facing degrees) else do (Do nothing)
Attack 1
Events
Time - Every 45.00 seconds of game time
Conditions
Actions
Trigger - Turn on Attack_1 <gen>
Trigger - Turn on Attack_1 <gen>
Unit Group - Pick every unit in (Random 500 units from (Units in (Playable map area) owned by Player 12 (Brown))) and do (Order (Picked unit) to Attack-Move To.(Position of (Random unit from (Units in (Playable map area) owned by (Random player from (All allies of Player 1 (Red).))))))
Unit Group - Pick every unit in (Random 500 units from (Units in (Playable map area) owned by Player 11 (Dark Green))) and do (Order (Picked unit) to Attack-Move To.(Position of (Random unit from (Units in (Playable map area) owned by (Random player from (All allies of Player 1 (Red).))))))
Enable Attack
Events
Conditions
Actions
Trigger - Turn on Attack_1 <gen>
Flag 1 Copy
Events
Unit - A unit owned by Player 1 (Red) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Shade
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Remove (Picked unit) from the game)
Wait 0.50 seconds
Unit - Create 1 . Priest for Player 1 (Red) at (Random point in Region_013 <gen>) facing Default building facing degrees
Game - Display to (Player group((Owner of (Triggering unit)))) the text: Had Be Kill but his soul remain at middle
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_013 <gen>) over 0 seconds
Flag 2 Copy
Events
Unit - A unit owned by Player 2 (Blue) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Shade
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Remove (Picked unit) from the game)
Wait 0.50 seconds
Unit - Create 1 . Priest for Player 2 (Blue) at (Random point in Region_013 <gen>) facing Default building facing degrees
Game - Display to (Player group((Owner of (Triggering unit)))) the text: Had Be Kill but his soul remain at middle
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_013 <gen>) over 0 seconds
Flag 3 Copy
Events
Unit - A unit owned by Player 3 (Teal) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Shade
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Remove (Picked unit) from the game)
Wait 0.50 seconds
Unit - Create 1 . Priest for Player 3 (Teal) at (Random point in Region_013 <gen>) facing Default building facing degrees
Game - Display to (Player group((Owner of (Triggering unit)))) the text: Had Be Kill but his soul remain at middle
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_013 <gen>) over 0 seconds
Flag 4 Copy
Events
Unit - A unit owned by Player 4 (Purple) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Shade
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Remove (Picked unit) from the game)
Wait 0.50 seconds
Unit - Create 1 . Priest for Player 4 (Purple) at (Random point in Region_013 <gen>) facing Default building facing degrees
Game - Display to (Player group((Owner of (Triggering unit)))) the text: Had Be Kill but his soul remain at middle
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_013 <gen>) over 0 seconds
Flag 5 Copy
Events
Unit - A unit owned by Player 5 (Yellow) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Shade
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Remove (Picked unit) from the game)
Wait 0.50 seconds
Unit - Create 1 . Priest for Player 5 (Yellow) at (Random point in Region_013 <gen>) facing Default building facing degrees
Game - Display to (Player group((Owner of (Triggering unit)))) the text: Had Be Kill but his soul remain at middle
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_013 <gen>) over 0 seconds
Flag 6 Copy
Events
Unit - A unit owned by Player 6 (Orange) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Shade
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Remove (Picked unit) from the game)
Wait 0.50 seconds
Unit - Create 1 . Priest for Player 6 (Orange) at (Random point in Region_013 <gen>) facing Default building facing degrees
Game - Display to (Player group((Owner of (Triggering unit)))) the text: Had Be Kill but his soul remain at middle
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_013 <gen>) over 0 seconds
Flag 7 Copy
Events
Unit - A unit owned by Player 7 (Green) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Shade
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Remove (Picked unit) from the game)
Wait 0.50 seconds
Unit - Create 1 . Priest for Player 7 (Green) at (Random point in Region_013 <gen>) facing Default building facing degrees
Game - Display to (Player group((Owner of (Triggering unit)))) the text: Had Be Kill but his soul remain at middle
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_013 <gen>) over 0 seconds
Flag 8 Copy
Events
Unit - A unit owned by Player 8 (Pink) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Shade
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Remove (Picked unit) from the game)
Wait 0.50 seconds
Unit - Create 1 . Priest for Player 8 (Pink) at (Random point in Region_013 <gen>) facing Default building facing degrees
Game - Display to (Player group((Owner of (Triggering unit)))) the text: Had Be Kill but his soul remain at middle
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_013 <gen>) over 0 seconds
Flag 9 Copy
Events
Unit - A unit owned by Player 9 (Gray) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Shade
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Remove (Picked unit) from the game)
Wait 0.50 seconds
Unit - Create 1 . Priest for Player 9 (Gray) at (Random point in Region_013 <gen>) facing Default building facing degrees
Game - Display to (Player group((Owner of (Triggering unit)))) the text: Had Be Kill but his soul remain at middle
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_013 <gen>) over 0 seconds
Flag 10 Copy
Events
Unit - A unit owned by Player 10 (Light Blue) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Shade
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Remove (Picked unit) from the game)
Wait 0.50 seconds
Unit - Create 1 . Priest for Player 10 (Light Blue) at (Random point in Region_013 <gen>) facing Default building facing degrees
Game - Display to (Player group((Owner of (Triggering unit)))) the text: Had Be Kill but his soul remain at middle
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_013 <gen>) over 0 seconds
Victory
Events
Time - Elapsed game time is 1800.00 seconds
Conditions
Actions
Player Group - Pick every player in (All players) and do (Victory (Picked player) (Show dialogs, Show scores))
Lose
Events
Time - Every 5.00 seconds of game time
Conditions
Actions
If ((Number of units in (Units of type Priest)) Equal to 0) then do (Play No sound) else do (Do nothing)
If ((Number of units in (Units of type Priest)) Equal to 0) then do (Pick every player in (All allies of Player 1 (Red).) and do (Defeat (Picked player) with the message: You |c00ff000fLOSE!)) else do (Do nothing)
If ((Number of units in (Units of type Priest)) Equal to 0) then do (Turn off (This trigger)) else do (Do nothing)
Player 1
Events
Time - Every 2 seconds of game time
Conditions
(Player 1 (Red) slot status) Equal to Has left the game
Actions
Unit Group - Pick every unit in (Units owned by Player 1 (Red).) and do (Remove (Picked unit) from the game)
Game - Display to (All players) for 20.00 seconds the text: ((Name of Player 1 (Red)) + had leave the game)
Trigger - Turn on (This trigger)
Player 2
Events
Time - Every 2 seconds of game time
Conditions
(Player 2 (Blue) slot status) Equal to Has left the game
Actions
Unit Group - Pick every unit in (Units owned by Player 2 (Blue).) and do (Remove (Picked unit) from the game)
Game - Display to (All players) for 20.00 seconds the text: ((Name of Player 2 (Blue)) + had leave the game)
Trigger - Turn on (This trigger)
Player 3
Events
Time - Every 2 seconds of game time
Conditions
(Player 3 (Teal) slot status) Equal to Has left the game
Actions
Unit Group - Pick every unit in (Units owned by Player 3 (Teal).) and do (Remove (Picked unit) from the game)
Game - Display to (All players) for 20.00 seconds the text: ((Name of Player 3 (Teal)) + had leave the game)
Trigger - Turn on (This trigger)
Player 4
Events
Time - Every 2 seconds of game time
Conditions
(Player 4 (Purple) slot status) Equal to Has left the game
Actions
Unit Group - Pick every unit in (Units owned by Player 4 (Purple).) and do (Remove (Picked unit) from the game)
Game - Display to (All players) for 20.00 seconds the text: ((Name of Player 4 (Purple)) + had leave the game)
Trigger - Turn on (This trigger)
Player 5
Events
Time - Every 2 seconds of game time
Conditions
(Player 5 (Yellow) slot status) Equal to Has left the game
Actions
Unit Group - Pick every unit in (Units owned by Player 5 (Yellow).) and do (Remove (Picked unit) from the game)
Game - Display to (All players) for 20.00 seconds the text: ((Name of Player 5 (Yellow)) + had leave the game)
Trigger - Turn on (This trigger)
Player 6
Events
Time - Every 2 seconds of game time
Conditions
(Player 6 (Orange) slot status) Equal to Has left the game
Actions
Unit Group - Pick every unit in (Units owned by Player 6 (Orange).) and do (Remove (Picked unit) from the game)
Game - Display to (All players) for 20.00 seconds the text: ((Name of Player 6 (Orange)) + had leave the game)
Trigger - Turn on (This trigger)
Player 7
Events
Time - Every 2 seconds of game time
Conditions
(Player 7 (Green) slot status) Equal to Has left the game
Actions
Unit Group - Pick every unit in (Units owned by Player 7 (Green).) and do (Remove (Picked unit) from the game)
Game - Display to (All players) for 20.00 seconds the text: ((Name of Player 7 (Green)) + had leave the game)
Trigger - Turn on (This trigger)
Player 8
Events
Time - Every 2 seconds of game time
Conditions
(Player 8 (Pink) slot status) Equal to Has left the game
Actions
Unit Group - Pick every unit in (Units owned by Player 8 (Pink).) and do (Remove (Picked unit) from the game)
Game - Display to (All players) for 20.00 seconds the text: ((Name of Player 8 (Pink)) + had leave the game)
Trigger - Turn on (This trigger)
Player 9
Events
Time - Every 2 seconds of game time
Conditions
(Player 9 (Gray) slot status) Equal to Has left the game
Actions
Unit Group - Pick every unit in (Units owned by Player 9 (Gray).) and do (Remove (Picked unit) from the game)
Game - Display to (All players) for 20.00 seconds the text: ((Name of Player 9 (Gray)) + had leave the game)
Trigger - Turn on (This trigger)
Player 10
Events
Time - Every 2 seconds of game time
Conditions
(Player 10 (Light Blue) slot status) Equal to Has left the game
Actions
Unit Group - Pick every unit in (Units owned by Player 10 (Light Blue).) and do (Remove (Picked unit) from the game)
Game - Display to (All players) for 20.00 seconds the text: ((Name of Player 10 (Light Blue)) + had leave the game)
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.