🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
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
Catacomb Survival.w3x
Variables
Initialization
start
variable
items
Undeadz
skill
Raise
Undead
dead
leave
survivor
timer
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
player
string
Yes
spider
sound
Yes
survivor
unit
Yes
timer
integer
No
start
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled |cffFFFFFFUndead Survival|r
Leaderboard - Add Player 8 (Pink) to (Last created leaderboard) with label |cffFF0000Time:|r and value timer
Visibility - Create an initially Enabled visibility modifier for Player 8 (Pink) emitting Visibility across (Playable map area)
Player - Change color of Player 8 (Pink) to Maroon , Changing color of existing units
Game - Turn the day/night cycle Off
Game - Set the time of day to 5.00
Player Group - Pick every player in (All allies of Player 1 (Red).) and do (If (((Picked player) slot status) Equal to Is playing) then do (Create 1 Survivor for (Picked player) at (Random point in (Playable map area)) facing (Random point in (Playable map area))) else do (Do nothing))
Player Group - Pick every player in (All players) and do (Turn Gives bounty On for (Picked player))
Game - Display to (All players) for 10.00 seconds the text: Good Luck Survivors...If you are stuck and wish to move...quickly use the Unbug skill at anywhere near you.
Sound - Play Tension <gen>
Wait 10.00 seconds
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Item - Create Bullets at (Random point in (Playable map area))
Item - Create Bullets at (Random point in (Playable map area))
Item - Create Bullets at (Random point in (Playable map area))
Item - Create Bullets at (Random point in (Playable map area))
Item - Create Bullets at (Random point in (Playable map area))
Item - Create Bullets at (Random point in (Playable map area))
Item - Create Bullets at (Random point in (Playable map area))
Item - Create Bullets at (Random point in (Playable map area))
Item - Create Bullets at (Random point in (Playable map area))
Item - Create Bullets at (Random point in (Playable map area))
Item - Create Bullets at (Random point in (Playable map area))
Item - Create Bullets at (Random point in (Playable map area))
Item - Create Potion at (Random point in (Playable map area))
Item - Create Potion at (Random point in (Playable map area))
Item - Create Potion at (Random point in (Playable map area))
Item - Create Potion at (Random point in (Playable map area))
Item - Create Potion at (Random point in (Playable map area))
Item - Create Potion at (Random point in (Playable map area))
Item - Create Potion at (Random point in (Playable map area))
Item - Create Potion at (Random point in (Playable map area))
Item - Create Potion at (Random point in (Playable map area))
Item - Create Potion at (Random point in (Playable map area))
Item - Create Potion at (Random point in (Playable map area))
Item - Create Potion at (Random point in (Playable map area))
Item - Create Flare at (Random point in (Playable map area))
Item - Create Flare at (Random point in (Playable map area))
Item - Create Flare at (Random point in (Playable map area))
Item - Create Flare at (Random point in (Playable map area))
Item - Create Flare at (Random point in (Playable map area))
Item - Create Flare at (Random point in (Playable map area))
Item - Create Flare at (Random point in (Playable map area))
Item - Create Flare at (Random point in (Playable map area))
Item - Create Flare at (Random point in (Playable map area))
Item - Create Flare at (Random point in (Playable map area))
Item - Create Flare at (Random point in (Playable map area))
Item - Create Flare at (Random point in (Playable map area))
Item - Create Tonic at (Random point in (Playable map area))
Item - Create Tonic at (Random point in (Playable map area))
Item - Create Tonic at (Random point in (Playable map area))
Item - Create Tonic at (Random point in (Playable map area))
Item - Create Tonic at (Random point in (Playable map area))
Item - Create Tonic at (Random point in (Playable map area))
Item - Create Tonic at (Random point in (Playable map area))
Item - Create Tonic at (Random point in (Playable map area))
Item - Create Tonic at (Random point in (Playable map area))
Item - Create Tonic at (Random point in (Playable map area))
Item - Create Tonic at (Random point in (Playable map area))
Item - Create Tonic at (Random point in (Playable map area))
Wait 20.00 seconds
Game - Display to (All players) for 10.00 seconds the text: |cffffcc00Unbug disabled.|r
Unit Group - Pick every unit in (Units of type Survivor) and do (Remove Unbug from (Picked unit))
Trigger - Turn on items <gen>
variable
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Set Variable Set timer = "0"
Set Variable Set player[1] = (|cffFF0000 + ((Name of Player 1 (Red)) + |r))
Set Variable Set player[2] = (|cff0000FF + ((Name of Player 2 (Blue)) + |r))
Set Variable Set player[3] = (|cff33FFFF + ((Name of Player 3 (Teal)) + |r))
Set Variable Set player[4] = (|cff9900FF + ((Name of Player 4 (Purple)) + |r))
Set Variable Set player[5] = (|cffFFFF00 + ((Name of Player 5 (Yellow)) + |r))
Set Variable Set player[6] = (|cffFF9900 + ((Name of Player 6 (Orange)) + |r))
Set Variable Set player[7] = (|cff00FF00 + ((Name of Player 7 (Green)) + |r))
Set Variable Set spider[1] = spider1 <gen>
Set Variable Set spider[2] = spider2 <gen>
Set Variable Set spider[3] = spider3 <gen>
Set Variable Set spider[4] = spider4 <gen>
Set Variable Set spider[5] = spider5 <gen>
Set Variable Set spider[6] = spider6 <gen>
items
Events
Time - Every 7.00 seconds of game time
Conditions
Actions
Item - Create Bullets at (Random point in (Playable map area))
Item - Create Flare at (Random point in (Playable map area))
Item - Create Potion at (Random point in (Playable map area))
Item - Create Tonic at (Random point in (Playable map area))
Wait 3.00 seconds
Sound - Play spider[(Random integer number between 1 and 6)]
Undeadz
Events
Time - Every 120.00 seconds of game time
Conditions
Actions
Game - Display to (All players) for 10.00 seconds the text: More Spiders Added...They Get Stronger Too...
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit - Create 1 Tombstone for Player 8 (Pink) at (Random point in (Playable map area)) facing (Random point in (Playable map area))
Unit Group - Pick every unit in (Units of type Undead) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Spider for (Picked unit)) Not equal to 16
Then - Actions
Unit - Set level of Spider for (Picked unit) to ((Level of Spider for (Picked unit)) + 1)
Else - Actions
Do nothing
skill
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units of type Tombstone) and do (Order (Picked unit) to Neutral Pit Lord - Howl Of Terror.)
Unit Group - Pick every unit in (Units of type Tombstone) and do (Order (Picked unit) to Neutral Pit Lord - Howl Of Terror.)
Unit Group - Pick every unit in (Units of type Tombstone) and do (Order (Picked unit) to Neutral Pit Lord - Howl Of Terror.)
Raise
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Ressurection
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Casting unit)) Equal to Tombstone
Then - Actions
Unit - Remove (Casting unit) from the game
Unit - Create 1 Abomination for (Owner of (Casting unit)) at (Position of (Casting unit)) facing (Random point in (Playable map area))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Casting unit)) Equal to Tombstone
Then - Actions
Unit - Remove (Casting unit) from the game
Unit - Create 1 Ghoul for (Owner of (Casting unit)) at (Position of (Casting unit)) facing (Random point in (Playable map area))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Casting unit)) Equal to Tombstone
Then - Actions
Unit - Remove (Casting unit) from the game
Unit - Create 1 Spectre for (Owner of (Casting unit)) at (Position of (Casting unit)) facing (Random point in (Playable map area))
Else - Actions
Do nothing
Undead
Events
Unit - A unit Dies
Conditions
Actions
If ((Unit-type of (Dying unit)) Equal to Tombstone) then do (Create 1 Tombstone for (Owner of (Dying unit)) at (Random point in (Playable map area)) facing (Random point in (Playable map area))) else do (Do nothing)
If ((Unit-type of (Dying unit)) Equal to Spectre) then do (Create 1 Tombstone for (Owner of (Dying unit)) at (Random point in (Playable map area)) facing (Random point in (Playable map area))) else do (Do nothing)
If ((Unit-type of (Dying unit)) Equal to Tombstone) then do (Create 1 Tombstone for (Owner of (Dying unit)) at (Random point in (Playable map area)) facing (Random point in (Playable map area))) else do (Do nothing)
If ((Unit-type of (Dying unit)) Equal to Abomination) then do (Create 1 Tombstone for (Owner of (Dying unit)) at (Random point in (Playable map area)) facing (Random point in (Playable map area))) else do (Do nothing)
If ((Unit-type of (Dying unit)) Equal to Tombstone) then do (Create 1 Tombstone for (Owner of (Dying unit)) at (Random point in (Playable map area)) facing (Random point in (Playable map area))) else do (Do nothing)
If ((Unit-type of (Dying unit)) Equal to Ghoul) then do (Create 1 Tombstone for (Owner of (Dying unit)) at (Random point in (Playable map area)) facing (Random point in (Playable map area))) else do (Do nothing)
dead
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Survivor
Actions
Game - Display to (All players) for 10.00 seconds the text: (player[(Player number of (Owner of (Dying unit)))] + ( is dead at |cffffcc00 + ((String(timer)) + |r seconds.)))
Game - Display to (Player group((Owner of (Dying unit)))) for 10.00 seconds the text: |cffFF0000Feel free to stay and watch or go ahead and leave.|r
Visibility - Create an initially Enabled visibility modifier for (Owner of (Dying unit)) emitting Visibility across (Playable map area)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(survivor[1] is dead) Equal to False
(survivor[2] is dead) Equal to True
(survivor[3] is dead) Equal to True
(survivor[4] is dead) Equal to True
(survivor[5] is dead) Equal to True
(survivor[6] is dead) Equal to True
(survivor[7] is dead) Equal to True
Then - Actions
Unit - Make survivor[1] Invulnerable
Sound - Play end <gen>
Game - Display to (All players) for 10.00 seconds the text: (player[1] + is the ultimate survivor.)
Game - Display to (All players) for 10.00 seconds the text: |cffffcc00The game is now over...you may leave.|r
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(survivor[1] is dead) Equal to True
(survivor[2] is dead) Equal to False
(survivor[3] is dead) Equal to True
(survivor[4] is dead) Equal to True
(survivor[5] is dead) Equal to True
(survivor[6] is dead) Equal to True
(survivor[7] is dead) Equal to True
Then - Actions
Unit - Make survivor[2] Invulnerable
Sound - Play end <gen>
Game - Display to (All players) for 10.00 seconds the text: (player[2] + is the ultimate survivor.)
Game - Display to (All players) for 10.00 seconds the text: |cffffcc00The game is now over...you may leave.|r
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(survivor[1] is dead) Equal to True
(survivor[2] is dead) Equal to True
(survivor[3] is dead) Equal to False
(survivor[4] is dead) Equal to True
(survivor[5] is dead) Equal to True
(survivor[6] is dead) Equal to True
(survivor[7] is dead) Equal to True
Then - Actions
Unit - Make survivor[3] Invulnerable
Sound - Play end <gen>
Game - Display to (All players) for 10.00 seconds the text: (player[3] + is the ultimate survivor.)
Game - Display to (All players) for 10.00 seconds the text: |cffffcc00The game is now over...you may leave.|r
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(survivor[1] is dead) Equal to True
(survivor[2] is dead) Equal to True
(survivor[3] is dead) Equal to True
(survivor[4] is dead) Equal to False
(survivor[5] is dead) Equal to True
(survivor[6] is dead) Equal to True
(survivor[7] is dead) Equal to True
Then - Actions
Unit - Make survivor[4] Invulnerable
Sound - Play end <gen>
Game - Display to (All players) for 10.00 seconds the text: (player[4] + is the ultimate survivor.)
Game - Display to (All players) for 10.00 seconds the text: |cffffcc00The game is now over...you may leave.|r
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(survivor[1] is dead) Equal to True
(survivor[2] is dead) Equal to True
(survivor[3] is dead) Equal to True
(survivor[4] is dead) Equal to True
(survivor[5] is dead) Equal to False
(survivor[6] is dead) Equal to True
(survivor[7] is dead) Equal to True
Then - Actions
Unit - Make survivor[5] Invulnerable
Sound - Play end <gen>
Game - Display to (All players) for 10.00 seconds the text: (player[5] + is the ultimate survivor.)
Game - Display to (All players) for 10.00 seconds the text: |cffffcc00The game is now over...you may leave.|r
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(survivor[1] is dead) Equal to True
(survivor[2] is dead) Equal to True
(survivor[3] is dead) Equal to True
(survivor[4] is dead) Equal to True
(survivor[5] is dead) Equal to True
(survivor[6] is dead) Equal to False
(survivor[7] is dead) Equal to True
Then - Actions
Unit - Make survivor[6] Invulnerable
Sound - Play end <gen>
Game - Display to (All players) for 10.00 seconds the text: (player[6] + is the ultimate survivor.)
Game - Display to (All players) for 10.00 seconds the text: |cffffcc00The game is now over...you may leave.|r
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(survivor[1] is dead) Equal to True
(survivor[2] is dead) Equal to True
(survivor[3] is dead) Equal to True
(survivor[4] is dead) Equal to True
(survivor[5] is dead) Equal to True
(survivor[6] is dead) Equal to True
(survivor[7] is dead) Equal to False
Then - Actions
Unit - Make survivor[7] Invulnerable
Sound - Play end <gen>
Game - Display to (All players) for 10.00 seconds the text: (player[7] + is the ultimate survivor.)
Game - Display to (All players) for 10.00 seconds the text: |cffffcc00The game is now over...you may leave.|r
Else - Actions
Do nothing
leave
Events
Player - Player 1 (Red) leaves the game
Player - Player 2 (Blue) leaves the game
Player - Player 3 (Teal) leaves the game
Player - Player 4 (Purple) leaves the game
Player - Player 5 (Yellow) leaves the game
Player - Player 6 (Orange) leaves the game
Player - Player 7 (Green) leaves the game
Conditions
(Unit-type of (Dying unit)) Equal to Survivor
Actions
Game - Display to (All players) for 10.00 seconds the text: (player[(Player number of (Triggering player))] + left the game.)
Unit - Remove survivor[(Player number of (Triggering player))] from the game
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(survivor[1] is dead) Equal to False
(survivor[2] is dead) Equal to True
(survivor[3] is dead) Equal to True
(survivor[4] is dead) Equal to True
(survivor[5] is dead) Equal to True
(survivor[6] is dead) Equal to True
(survivor[7] is dead) Equal to True
Then - Actions
Unit - Make survivor[1] Invulnerable
Sound - Play end <gen>
Game - Display to (All players) for 10.00 seconds the text: (player[1] + is the ultimate survivor.)
Game - Display to (All players) for 10.00 seconds the text: |cffffcc00The game is now over...you may leave.|r
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(survivor[1] is dead) Equal to True
(survivor[2] is dead) Equal to False
(survivor[3] is dead) Equal to True
(survivor[4] is dead) Equal to True
(survivor[5] is dead) Equal to True
(survivor[6] is dead) Equal to True
(survivor[7] is dead) Equal to True
Then - Actions
Unit - Make survivor[2] Invulnerable
Sound - Play end <gen>
Game - Display to (All players) for 10.00 seconds the text: (player[2] + is the ultimate survivor.)
Game - Display to (All players) for 10.00 seconds the text: |cffffcc00The game is now over...you may leave.|r
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(survivor[1] is dead) Equal to True
(survivor[2] is dead) Equal to True
(survivor[3] is dead) Equal to False
(survivor[4] is dead) Equal to True
(survivor[5] is dead) Equal to True
(survivor[6] is dead) Equal to True
(survivor[7] is dead) Equal to True
Then - Actions
Unit - Make survivor[3] Invulnerable
Sound - Play end <gen>
Game - Display to (All players) for 10.00 seconds the text: (player[3] + is the ultimate survivor.)
Game - Display to (All players) for 10.00 seconds the text: |cffffcc00The game is now over...you may leave.|r
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(survivor[1] is dead) Equal to True
(survivor[2] is dead) Equal to True
(survivor[3] is dead) Equal to True
(survivor[4] is dead) Equal to False
(survivor[5] is dead) Equal to True
(survivor[6] is dead) Equal to True
(survivor[7] is dead) Equal to True
Then - Actions
Unit - Make survivor[4] Invulnerable
Sound - Play end <gen>
Game - Display to (All players) for 10.00 seconds the text: (player[4] + is the ultimate survivor.)
Game - Display to (All players) for 10.00 seconds the text: |cffffcc00The game is now over...you may leave.|r
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(survivor[1] is dead) Equal to True
(survivor[2] is dead) Equal to True
(survivor[3] is dead) Equal to True
(survivor[4] is dead) Equal to True
(survivor[5] is dead) Equal to False
(survivor[6] is dead) Equal to True
(survivor[7] is dead) Equal to True
Then - Actions
Unit - Make survivor[5] Invulnerable
Sound - Play end <gen>
Game - Display to (All players) for 10.00 seconds the text: (player[5] + is the ultimate survivor.)
Game - Display to (All players) for 10.00 seconds the text: |cffffcc00The game is now over...you may leave.|r
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(survivor[1] is dead) Equal to True
(survivor[2] is dead) Equal to True
(survivor[3] is dead) Equal to True
(survivor[4] is dead) Equal to True
(survivor[5] is dead) Equal to True
(survivor[6] is dead) Equal to False
(survivor[7] is dead) Equal to True
Then - Actions
Unit - Make survivor[6] Invulnerable
Sound - Play end <gen>
Game - Display to (All players) for 10.00 seconds the text: (player[6] + is the ultimate survivor.)
Game - Display to (All players) for 10.00 seconds the text: |cffffcc00The game is now over...you may leave.|r
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(survivor[1] is dead) Equal to True
(survivor[2] is dead) Equal to True
(survivor[3] is dead) Equal to True
(survivor[4] is dead) Equal to True
(survivor[5] is dead) Equal to True
(survivor[6] is dead) Equal to True
(survivor[7] is dead) Equal to False
Then - Actions
Unit - Make survivor[7] Invulnerable
Sound - Play end <gen>
Game - Display to (All players) for 10.00 seconds the text: (player[7] + is the ultimate survivor.)
Game - Display to (All players) for 10.00 seconds the text: |cffffcc00The game is now over...you may leave.|r
Else - Actions
Do nothing
survivor
Events
Unit - A unit enters (Entire map)
Conditions
(Unit-type of (Triggering unit)) Equal to Survivor
Actions
Camera - Pan camera for (Owner of (Triggering unit)) to (Position of (Triggering unit)) over 0 seconds
Hero - Create Potion and give it to (Triggering unit)
Hero - Create Potion and give it to (Triggering unit)
Hero - Create Bullets and give it to (Triggering unit)
If ((Owner of (Triggering unit)) Equal to Player 1 (Red)) then do (Set VariableSet survivor[1] = (Triggering unit)) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 2 (Blue)) then do (Set VariableSet survivor[2] = (Triggering unit)) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 3 (Teal)) then do (Set VariableSet survivor[3] = (Triggering unit)) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 4 (Purple)) then do (Set VariableSet survivor[4] = (Triggering unit)) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 5 (Yellow)) then do (Set VariableSet survivor[5] = (Triggering unit)) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 6 (Orange)) then do (Set VariableSet survivor[6] = (Triggering unit)) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 7 (Green)) then do (Set VariableSet survivor[7] = (Triggering unit)) else do (Do nothing)
timer
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Set Variable Set timer = (timer + 1)
Leaderboard - Change the value for Player 8 (Pink) in (Last created leaderboard) to timer
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.