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 Survival Trial.w3x
Variables
Initialization
Cinematic
Spawn
Soundz
PH1
PH1 Copy
Ammo
Givestartingammo
Weapons
Shotgun
ammo drain
Noshotgun
---------------------------
Minigun
ammo drain Copy
Noshotgun Copy
---------------------------
Assualt rifle
ammo drain Copy 2
Noshotgun Copy 2
---------------------------
Flamethrower
ammo drain Copy 2 Copy
Noshotgun Copy 3
---------------------------
Submachinegun
ammo drain Copy 2 Copy Copy
Noshotgun Copy 4
---------------------------
Sniper rifle
ammo drain Copy 2 Copy Copy Copy
Noshotgun Copy 5
Reload
ammo
ammo Copy
ammo Copy 2
ammo Copy 3
ammo Copy 4
ammo Copy 5
ammo Copy 6
ammo Copy 7
ammo Copy 7 Copy
Clock
Clock1
Spawning
Spawn1
Spawn1on
Cheats
Name
Tellme
Blood
Bloodfect
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
Cinematic
Events
Time - Elapsed game time is 0.20 seconds
Conditions
Actions
Cinematic - Turn cinematic mode On for (All players)
Wait 2 seconds
Item - Create Assualt Rifle at (Random point in (Playable map area))
Item - Create Assualt Rifle at (Random point in (Playable map area))
Item - Create Flame Thrower at (Random point in (Playable map area))
Item - Create Flame Thrower at (Random point in (Playable map area))
Item - Create Minigun at (Random point in (Playable map area))
Item - Create Minigun at (Random point in (Playable map area))
Item - Create Shot Gun at (Random point in (Playable map area))
Item - Create Shot Gun at (Random point in (Playable map area))
Item - Create Sniper Rifle at (Random point in (Playable map area))
Item - Create Sniper Rifle at (Random point in (Playable map area))
Item - Create Submachine gun at (Random point in (Playable map area))
Item - Create Submachine gun at (Random point in (Playable map area))
Item - Create Combat Armor at (Random point in (Playable map area))
Item - Create Combat Armor at (Random point in (Playable map area))
Item - Create Ammo clip at (Random point in (Playable map area))
Item - Create Ammo clip at (Random point in (Playable map area))
Item - Create Ammo clip at (Random point in (Playable map area))
Item - Create Ammo clip at (Random point in (Playable map area))
Item - Create Ammo clip at (Random point in (Playable map area))
Item - Create Ammo clip at (Random point in (Playable map area))
Item - Create Ammo clip at (Random point in (Playable map area))
Item - Create Ammo clip at (Random point in (Playable map area))
Item - Create Ammo clip at (Random point in (Playable map area))
Item - Create Ammo clip at (Random point in (Playable map area))
Item - Create Ammo clip at (Random point in (Playable map area))
Item - Create Medkit at (Random point in (Playable map area))
Item - Create Medkit at (Random point in (Playable map area))
Item - Create Medkit at (Random point in (Playable map area))
Item - Create Medkit at (Random point in (Playable map area))
Item - Create Medkit at (Random point in (Playable map area))
Item - Create Medkit at (Random point in (Playable map area))
Player Group - Pick every player in (All players) and do (Pan camera for (Picked player) to (Center of Cinematic <gen>) over 5.00 seconds)
Wait 5.00 seconds
Cinematic - Send transmission to (All players) from Shot Gun 0011 <gen> named Soldier : Play No sound and display I think we will be safe here! . Modify duration: Add 0 seconds and Wait
Cinematic - Send transmission to (All players) from Assualt Rifle 0010 <gen> named Soldier : Play No sound and display Help will be coming in 45 minutes! . Modify duration: Add 0 seconds and Wait
Destructible - Kill City Entrance 0268 <gen>
Unit - Create 1 . Ravager cin for Player 12 (Brown) at (Center of Cinematic2 <gen>) facing Default building facing degrees
Unit - Order (Last created unit) to Attack . Assualt Rifle 0010 <gen>
Unit - Create 1 . Ravager cin for Player 12 (Brown) at (Center of Cinematic2 <gen>) facing Default building facing degrees
Unit - Order (Last created unit) to Attack . Shot Gun 0011 <gen>
Unit - Create 1 . Ravager cin for Player 12 (Brown) at (Center of Cinematic2 <gen>) facing Default building facing degrees
Unit - Order (Last created unit) to Attack . Sniper Rifle 0012 <gen>
Wait 6.00 seconds
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 12 (Brown)) and do (Explode (Picked unit).)
Cinematic - Turn cinematic mode Off for (All players)
Spawn
Events
Time - Elapsed game time is 15.00 seconds
Conditions
Actions
Unit - Create 1 No Weapon for Player 1 (Red) at (Player 1 (Red) start location) facing (Position of (Triggering unit))
Unit - Create 1 No Weapon for Player 2 (Blue) at (Player 2 (Blue) start location) facing (Position of (Triggering unit))
Unit - Create 1 No Weapon for Player 3 (Teal) at (Player 3 (Teal) start location) facing (Position of (Triggering unit))
Unit - Create 1 No Weapon for Player 4 (Purple) at (Player 4 (Purple) start location) facing (Position of (Triggering unit))
Unit - Create 1 No Weapon for Player 5 (Yellow) at (Player 5 (Yellow) start location) facing (Position of (Triggering unit))
Unit - Create 1 No Weapon for Player 6 (Orange) at (Player 6 (Orange) start location) facing (Position of (Triggering unit))
Unit - Create 1 No Weapon for Player 7 (Green) at (Player 7 (Green) start location) facing (Position of (Triggering unit))
Unit - Create 1 No Weapon for Player 8 (Pink) at (Player 8 (Pink) start location) facing (Position of (Triggering unit))
PH1
Events
Time - Elapsed game time is 0.10 seconds
Conditions
Actions
Custom script: call SetAmbientDaySound( "" )
Custom script: call SetAmbientNightSound( "" )
Custom script: call SetMapMusic( "", false, 0 )
PH1 Copy
Events
Time - Elapsed game time is 0.11 seconds
Conditions
Actions
Custom script: call SetAmbientDaySound( "" )
Custom script: call SetAmbientNightSound( "" )
Custom script: call SetMapMusic( "", false, 0 )
Sound - Clear the music list
Sound - Play PH101 <gen>
Givestartingammo
Events
Map initialization
Conditions
Actions
Player - Add 50 to Player 1 (Red) . Current gold
Player - Add 10 to Player 1 (Red) . Current lumber
Player - Add 50 to Player 2 (Blue) . Current gold
Player - Add 10 to Player 2 (Blue) . Current lumber
Player - Add 50 to Player 3 (Teal) . Current gold
Player - Add 10 to Player 3 (Teal) . Current lumber
Player - Add 50 to Player 4 (Purple) . Current gold
Player - Add 10 to Player 4 (Purple) . Current lumber
Player - Add 50 to Player 5 (Yellow) . Current gold
Player - Add 10 to Player 5 (Yellow) . Current lumber
Player - Add 50 to Player 6 (Orange) . Current gold
Player - Add 10 to Player 6 (Orange) . Current lumber
Player - Add 50 to Player 7 (Green) . Current gold
Player - Add 10 to Player 7 (Green) . Current lumber
Player - Add 50 to Player 8 (Pink) . Current gold
Player - Add 10 to Player 8 (Pink) . Current lumber
Player - Add 50 to Player 9 (Gray) . Current gold
Player - Add 500 to Player 9 (Gray) . Current lumber
Shotgun
Events
Unit - A unit Uses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Shot Gun
Actions
Unit - Replace (Hero manipulating item) with a Shot Gun using The old unit's relative life and mana
Selection - Add (Last replaced unit) to selection for (Owner of (Last replaced unit))
ammo drain
Events
Unit - A unit Is attacked
Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Attacking unit)) Equal to Shot Gun
Actions
Player - Add -5 to (Owner of (Attacking unit)) . Current gold
Sound - Play shotgun <gen> at 100 % volume, attached to (Attacking unit)
Noshotgun
Events
Unit - A unit Loses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Shot Gun
Actions
Wait 1.00 seconds
Unit - Replace (Hero manipulating item) with a No Weapon using The old unit's relative life and mana
Selection - Add (Last replaced unit) to selection for (Owner of (Last replaced unit))
Minigun
Events
Unit - A unit Uses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Minigun
Actions
Unit - Replace (Hero manipulating item) with a Minigun using The old unit's relative life and mana
Selection - Add (Last replaced unit) to selection for (Owner of (Last replaced unit))
ammo drain Copy
Events
Unit - A unit Is attacked
Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Attacking unit)) Equal to Minigun
Actions
Player - Add -1 to (Owner of (Attacking unit)) . Current gold
Sound - Play OIH <gen> at 100 % volume, attached to (Attacking unit)
Noshotgun Copy
Events
Unit - A unit Loses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Minigun
Actions
Wait 1.00 seconds
Unit - Replace (Hero manipulating item) with a No Weapon using The old unit's relative life and mana
Selection - Add (Last replaced unit) to selection for (Owner of (Last replaced unit))
Assualt rifle
Events
Unit - A unit Uses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Assualt Rifle
Actions
Unit - Replace (Hero manipulating item) with a Assualt Rifle using The old unit's relative life and mana
Selection - Add (Last replaced unit) to selection for (Owner of (Last replaced unit))
ammo drain Copy 2
Events
Unit - A unit Is attacked
Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Attacking unit)) Equal to Assualt Rifle
Actions
Player - Add -1 to (Owner of (Attacking unit)) . Current gold
Sound - Play OIH <gen> at 100 % volume, attached to (Attacking unit)
Noshotgun Copy 2
Events
Unit - A unit Loses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Assualt Rifle
Actions
Wait 1.00 seconds
Unit - Replace (Hero manipulating item) with a No Weapon using The old unit's relative life and mana
Selection - Add (Last replaced unit) to selection for (Owner of (Last replaced unit))
Flamethrower
Events
Unit - A unit Uses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Flame Thrower
Actions
Unit - Replace (Hero manipulating item) with a Flamethrower using The old unit's relative life and mana
Selection - Add (Last replaced unit) to selection for (Owner of (Last replaced unit))
ammo drain Copy 2 Copy
Events
Unit - A unit Is attacked
Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Attacking unit)) Equal to Flamethrower
Actions
Player - Add -1 to (Owner of (Attacking unit)) . Current gold
Noshotgun Copy 3
Events
Unit - A unit Loses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Flame Thrower
Actions
Wait 1.00 seconds
Unit - Replace (Hero manipulating item) with a No Weapon using The old unit's relative life and mana
Selection - Add (Last replaced unit) to selection for (Owner of (Last replaced unit))
Submachinegun
Events
Unit - A unit Uses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Submachine gun
Actions
Unit - Replace (Hero manipulating item) with a Submachine Gun using The old unit's relative life and mana
Selection - Add (Last replaced unit) to selection for (Owner of (Last replaced unit))
ammo drain Copy 2 Copy Copy
Events
Unit - A unit Is attacked
Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Attacking unit)) Equal to Submachine Gun
Actions
Player - Add -1 to (Owner of (Attacking unit)) . Current gold
Sound - Play OIH <gen> at 100 % volume, attached to (Attacking unit)
Noshotgun Copy 4
Events
Unit - A unit Loses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Submachine gun
Actions
Wait 1.00 seconds
Unit - Replace (Hero manipulating item) with a No Weapon using The old unit's relative life and mana
Selection - Add (Last replaced unit) to selection for (Owner of (Last replaced unit))
Sniper rifle
Events
Unit - A unit Uses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Sniper Rifle
Actions
Unit - Replace (Hero manipulating item) with a Sniper Rifle using The old unit's relative life and mana
Selection - Add (Last replaced unit) to selection for (Owner of (Last replaced unit))
ammo drain Copy 2 Copy Copy Copy
Events
Unit - A unit Is attacked
Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Attacking unit)) Equal to Sniper Rifle
Actions
Player - Add -1 to (Owner of (Attacking unit)) . Current gold
Sound - Play MarksmanRifle <gen> at 100 % volume, attached to (Attacking unit)
Noshotgun Copy 5
Events
Unit - A unit Loses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Sniper Rifle
Actions
Wait 1.00 seconds
Unit - Replace (Hero manipulating item) with a No Weapon using The old unit's relative life and mana
Selection - Add (Last replaced unit) to selection for (Owner of (Last replaced unit))
ammo
Events
Player - Player 1 (Red) 's Current gold becomes Equal to 0.00
Conditions
Actions
Floating Text - Create floating text that reads Reloading! above (Random unit from (Units in (Playable map area) owned by Player 1 (Red))) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Player - Add -1 to Player 1 (Red) . Current lumber
Wait 2 seconds
Sound - Play RELOAD <gen> at 100 % volume, attached to (Random unit from (Units in (Playable map area) owned by Player 1 (Red)))
Floating Text - Destroy (Last created floating text)
Player - Add 50 to Player 1 (Red) . Current gold
ammo Copy
Events
Player - Player 2 (Blue) 's Current gold becomes Equal to 0.00
Conditions
Actions
Floating Text - Create floating text that reads Reloading! above (Random unit from (Units in (Playable map area) owned by Player 2 (Blue))) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Player - Add -1 to Player 2 (Blue) . Current lumber
Sound - Play RELOAD <gen> at 100 % volume, attached to (Random unit from (Units in (Playable map area) owned by Player 2 (Blue)))
Floating Text - Destroy (Last created floating text)
Player - Add 50 to Player 2 (Blue) . Current gold
Wait 2 seconds
ammo Copy 2
Events
Player - Player 3 (Teal) 's Current gold becomes Equal to 0.00
Conditions
Actions
Floating Text - Create floating text that reads Reloading! above (Random unit from (Units in (Playable map area) owned by Player 3 (Teal))) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Player - Add -1 to Player 3 (Teal) . Current lumber
Sound - Play RELOAD <gen> at 100 % volume, attached to (Random unit from (Units in (Playable map area) owned by Player 3 (Teal)))
Floating Text - Destroy (Last created floating text)
Player - Add 50 to Player 3 (Teal) . Current gold
Wait 2 seconds
ammo Copy 3
Events
Player - Player 4 (Purple) 's Current gold becomes Equal to 0.00
Conditions
Actions
Floating Text - Create floating text that reads Reloading! above (Random unit from (Units in (Playable map area) owned by Player 4 (Purple))) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Player - Add -1 to Player 4 (Purple) . Current lumber
Sound - Play RELOAD <gen> at 100 % volume, attached to (Random unit from (Units in (Playable map area) owned by Player 4 (Purple)))
Floating Text - Destroy (Last created floating text)
Player - Add 50 to Player 4 (Purple) . Current gold
Wait 2 seconds
ammo Copy 4
Events
Player - Player 5 (Yellow) 's Current gold becomes Equal to 0.00
Conditions
Actions
Floating Text - Create floating text that reads Reloading! above (Random unit from (Units in (Playable map area) owned by Player 5 (Yellow))) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Player - Add -1 to Player 5 (Yellow) . Current lumber
Sound - Play RELOAD <gen> at 100 % volume, attached to (Random unit from (Units in (Playable map area) owned by Player 5 (Yellow)))
Floating Text - Destroy (Last created floating text)
Player - Add 50 to Player 5 (Yellow) . Current gold
Wait 2 seconds
ammo Copy 5
Events
Player - Player 6 (Orange) 's Current gold becomes Equal to 0.00
Conditions
Actions
Floating Text - Create floating text that reads Reloading! above (Random unit from (Units in (Playable map area) owned by Player 6 (Orange))) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Player - Add -1 to Player 6 (Orange) . Current lumber
Sound - Play RELOAD <gen> at 100 % volume, attached to (Random unit from (Units in (Playable map area) owned by Player 6 (Orange)))
Floating Text - Destroy (Last created floating text)
Player - Add 50 to Player 6 (Orange) . Current gold
Wait 2 seconds
ammo Copy 6
Events
Player - Player 7 (Green) 's Current gold becomes Equal to 0.00
Conditions
Actions
Floating Text - Create floating text that reads Reloading! above (Random unit from (Units in (Playable map area) owned by Player 7 (Green))) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Player - Add -1 to Player 7 (Green) . Current lumber
Sound - Play RELOAD <gen> at 100 % volume, attached to (Random unit from (Units in (Playable map area) owned by Player 7 (Green)))
Floating Text - Destroy (Last created floating text)
Player - Add 50 to Player 7 (Green) . Current gold
Wait 2 seconds
ammo Copy 7
Events
Player - Player 8 (Pink) 's Current gold becomes Equal to 0.00
Conditions
Actions
Floating Text - Create floating text that reads Reloading! above (Random unit from (Units in (Playable map area) owned by Player 8 (Pink))) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Player - Add -1 to Player 8 (Pink) . Current lumber
Sound - Play RELOAD <gen> at 100 % volume, attached to (Random unit from (Units in (Playable map area) owned by Player 8 (Pink)))
Floating Text - Destroy (Last created floating text)
Player - Add 50 to Player 8 (Pink) . Current gold
Wait 2 seconds
ammo Copy 7 Copy
Events
Player - Player 9 (Gray) 's Current gold becomes Equal to 0.00
Conditions
Actions
Floating Text - Create floating text that reads Reloading! above (Random unit from (Units in (Playable map area) owned by Player 9 (Gray))) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Player - Add -1 to Player 9 (Gray) . Current lumber
Sound - Play RELOAD <gen> at 100 % volume, attached to (Random unit from (Units in (Playable map area) owned by Player 9 (Gray)))
Wait 2 seconds
Floating Text - Destroy (Last created floating text)
Player - Add 50 to Player 9 (Gray) . Current gold
Clock1
Events
Time - Elapsed game time is 200.00 seconds
Conditions
Actions
Countdown Timer - Create a timer window for timer with title Help comes in
Countdown Timer - Start timer as a One-shot timer that will expire in 2500.00 seconds
Countdown Timer - Show (Last created timer window)
Spawn1
Events
Time - Every 2.78 seconds of game time
Conditions
Actions
Unit - Create 1 . Ravager for Player 12 (Brown) at (Random point in (Playable map area)) facing Default building facing degrees
Unit - Order (Last created unit) to Attack . (Random unit from (Units in (Playable map area) owned by (Random player from (All players))))
Unit - Create 1 . Ravager for Player 12 (Brown) at (Random point in (Playable map area)) facing Default building facing degrees
Unit - Order (Last created unit) to Attack . (Random unit from (Units in (Playable map area) owned by (Random player from (All players))))
Spawn1on
Events
Time - Elapsed game time is 190.00 seconds
Conditions
Actions
Game - Display to (All players) the text: Here comes the endless onslaught of zombies!!!!
Wait 10.00 seconds
Trigger - Turn on Spawn1 <gen>
Name
Events
Player - Player 2 (Blue) types a chat message containing -uberboom (Unexpected type: 'stringnoformat') as An exact match
Conditions
(Name of (Triggering player)) Equal to psymage2
Actions
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 12 (Brown)) and do (Explode (Picked unit).)
Player Group - Pick every player in (All players controlled by a User player) and do (Actions)
Loop - Actions
Game - Display to (All players) the text: UUBBEEERRBOOOMMMZZ!!!
Camera - Shake the camera for (Picked player) with magnitude 220.00
Wait 4.00 seconds
Camera - Reset camera for (Picked player) to standard game-view over 5.00 seconds
Tellme
Events
Player - Player 2 (Blue) types a chat message containing -cheats (Unexpected type: 'stringnoformat') as An exact match
Conditions
(Name of (Triggering player)) Equal to psymage2
Actions
Game - Display to (All players) the text: Here is list of cheats/help/random crap that I put in- uberboom|helpmeh|blood|,thats it-for NOW!!! MUUHHAHAAAAHAHAHAA
Blood
Events
Player - Player 2 (Blue) types a chat message containing -blood (Unexpected type: 'stringnoformat') as An exact match
Conditions
(Name of (Triggering player)) Equal to psymage2
Actions
Trigger - Turn on Bloodfect <gen>
Bloodfect
Events
Unit - A unit Dies
Conditions
Actions
Special Effect - Create a special effect at (Position of (Dying unit)) using Objects\Spawnmodels\Undead\UndeadLargeDeathExplode\UndeadLargeDeathExplode.mdl
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.