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
Squad Recon Mission Beta.w3x
Variables
Start
Transport Ships
Kill Transport Ship Five
Spawn Units
Change Unit
Squad Leader
Scout
Sniper
Assassin
Lives And Respawn
Base Lives
Lose Lives
No Respawn
Game Over Lives
Game Over All Dead
Squad Leader Dies
Scout Dies
Sniper Dies
Assassin Dies
Final Battle
Enter Shrine
Cinetic
Win
Auto Spawn Demons
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
Blue_Unit
unit
No
Chance
integer
No
Lives
integer
No
Purple_Unit
unit
No
Red_Unit
unit
No
Teal_Unit
unit
No
Transport Ships
Events
Time - Elapsed game time is 0.05 seconds
Conditions
Actions
Cinematic - Turn cinematic mode On for (All players)
Camera - Lock camera target for Player 1 (Red) to |cffFF0000Transport Ship|r 0001 <gen> , offset by ( 0 , 0 ) using The unit's rotation
Camera - Lock camera target for Player 2 (Blue) to |cffFF0000Transport Ship|r 0002 <gen> , offset by ( 0 , 0 ) using The unit's rotation
Camera - Lock camera target for Player 3 (Teal) to |cffFF0000Transport Ship|r 0003 <gen> , offset by ( 0 , 0 ) using The unit's rotation
Camera - Lock camera target for Player 4 (Purple) to |cffFF0000Transport Ship|r 0004 <gen> , offset by ( 0 , 0 ) using The unit's rotation
Unit - Order |cffFF0000Transport Ship|r 0001 <gen> to Move To . (Center of Drop_Off_Point <gen>)
Unit - Order |cffFF0000Transport Ship|r 0002 <gen> to Move To . (Random point in Drop_Off_Point <gen>)
Unit - Order |cffFF0000Transport Ship|r 0003 <gen> to Move To . (Random point in Drop_Off_Point <gen>)
Unit - Order |cffFF0000Transport Ship|r 0004 <gen> to Move To . (Random point in Drop_Off_Point <gen>)
Unit - Order |cffFF0000Transport Ship|r 0005 <gen> to Move To . (Random point in Transport_Ship_Five_Death <gen>)
Wait 2.50 seconds
Unit - Order |cffFFFF00Shaman 0009 <gen> to Attack . |cffFF0000Transport Ship|r 0005 <gen>
Kill Transport Ship Five
Events
Unit - A unit Is attacked
Conditions
(Attacked unit) Equal to |cffFF0000Transport Ship|r 0005 <gen>
Actions
Wait 0.50 seconds
Cinematic - Send transmission to (All players) from |cffFF0000Transport Ship|r 0005 <gen> named Transport Ship Five : Play No sound and display I've been hit! I'm going down! . Modify duration: Set to 2.50 seconds and Don't wait
Animation - Change |cffFF0000Transport Ship|r 0005 <gen> flying height to 0.00 at 2500.00
Unit - Kill |cffFF0000Transport Ship|r 0005 <gen>
Spawn Units
Events
Unit - A unit enters Drop_Off_Point <gen>
Conditions
(Entering unit) Equal to |cffFF0000Transport Ship|r 0001 <gen>
Actions
Unit - Create 1 |cffFF0000Squad Leader for Player 1 (Red) at (Position of |cffFF0000Transport Ship|r 0001 <gen>) facing (Position of |cffFF0000Transport Ship|r 0001 <gen>)
Set Variable Set Red_Unit = (Last created unit)
Camera - Lock camera target for Player 1 (Red) to Red_Unit , offset by ( 0 , 0 ) using Default rotation
Animation - Change |cffFF0000Transport Ship|r 0001 <gen> flying height to 5000.00 at 500.00
Wait 2.50 seconds
Unit - Remove |cffFF0000Transport Ship|r 0001 <gen> from the game
Unit - Create 1 |cff804000Scout for Player 2 (Blue) at (Position of |cffFF0000Transport Ship|r 0002 <gen>) facing (Position of |cffFF0000Transport Ship|r 0002 <gen>)
Set Variable Set Blue_Unit = (Last created unit)
Camera - Lock camera target for Player 2 (Blue) to Blue_Unit , offset by ( 0 , 0 ) using Default rotation
Animation - Change |cffFF0000Transport Ship|r 0002 <gen> flying height to 5000.00 at 500.00
Wait 2.50 seconds
Unit - Remove |cffFF0000Transport Ship|r 0002 <gen> from the game
Unit - Create 1 |cff80FFFFSniper for Player 3 (Teal) at (Position of |cffFF0000Transport Ship|r 0003 <gen>) facing (Position of |cffFF0000Transport Ship|r 0003 <gen>)
Set Variable Set Teal_Unit = (Last created unit)
Camera - Lock camera target for Player 3 (Teal) to Teal_Unit , offset by ( 0 , 0 ) using Default rotation
Animation - Change |cffFF0000Transport Ship|r 0003 <gen> flying height to 5000.00 at 500.00
Wait 2.50 seconds
Unit - Remove |cffFF0000Transport Ship|r 0003 <gen> from the game
Unit - Create 1 |cff400080Assassin for Player 4 (Purple) at (Position of |cffFF0000Transport Ship|r 0004 <gen>) facing (Position of |cffFF0000Transport Ship|r 0004 <gen>)
Set Variable Set Purple_Unit = (Last created unit)
Camera - Lock camera target for Player 4 (Purple) to Purple_Unit , offset by ( 0 , 0 ) using Default rotation
Animation - Change |cffFF0000Transport Ship|r 0004 <gen> flying height to 5000.00 at 500.00
Wait 2.50 seconds
Unit - Remove |cffFF0000Transport Ship|r 0004 <gen> from the game
Cinematic - Turn cinematic mode Off for (All players)
Squad Leader
Events
Player - Player 1 (Red) Presses the Up Arrow key
Conditions
Actions
Selection - Select Red_Unit
Camera - Lock camera target for Player 1 (Red) to Red_Unit , offset by ( 0.00 , 0 ) using The unit's rotation
Unit - Change ownership of Red_Unit to Player 1 (Red) and Retain color
Scout
Events
Player - Player 1 (Red) Presses the Right Arrow key
Conditions
(Player 2 (Blue) controller) Not equal to User
Actions
Selection - Select Blue_Unit
Camera - Lock camera target for Player 1 (Red) to Blue_Unit , offset by ( 0 , 0 ) using The unit's rotation
Unit - Change ownership of Blue_Unit to Player 1 (Red) and Retain color
Sniper
Events
Player - Player 1 (Red) Presses the Left Arrow key
Conditions
(Player 3 (Teal) controller) Not equal to User
Actions
Selection - Select Teal_Unit
Camera - Lock camera target for Player 1 (Red) to Teal_Unit , offset by ( 0 , 0 ) using The unit's rotation
Unit - Change ownership of Teal_Unit to Player 1 (Red) and Retain color
Assassin
Events
Player - Player 1 (Red) Presses the Down Arrow key
Conditions
(Player 4 (Purple) controller) Not equal to User
Actions
Selection - Select Purple_Unit
Camera - Lock camera target for Player 1 (Red) to Purple_Unit , offset by ( 0 , 0 ) using The unit's rotation
Unit - Change ownership of Purple_Unit to Player 1 (Red) and Retain color
Base Lives
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Actions
Set Variable Set Lives = "16"
Lose Lives
Events
Unit - A unit Dies
Conditions
Or - Any (Conditions) are true
Conditions
(Dying unit) Equal to Red_Unit
(Dying unit) Equal to Blue_Unit
(Dying unit) Equal to Teal_Unit
(Dying unit) Equal to Purple_Unit
Actions
Player - Set Player 1 (Red) . Food used to Lives
Player - Set Player 2 (Blue) . Food used to Lives
Player - Set Player 3 (Teal) . Food used to Lives
Player - Set Player 4 (Purple) . Food used to Lives
No Respawn
Events
Unit - A unit Dies
Conditions
Or - Any (Conditions) are true
Conditions
(Dying unit) Equal to Red_Unit
(Dying unit) Equal to Blue_Unit
(Dying unit) Equal to Teal_Unit
(Dying unit) Equal to Purple_Unit
And - All (Conditions) are true
Conditions
Lives Equal to 0
Actions
Trigger - Turn off Squad_Leader_Dies <gen>
Trigger - Turn off Scout_Dies <gen>
Trigger - Turn off Sniper_Dies <gen>
Trigger - Turn off Assassin_Dies <gen>
Game Over Lives
Events
Player - Player 1 (Red) 's Food used becomes Equal to 0.00
Player - Player 2 (Blue) 's Food used becomes Equal to 0.00
Player - Player 3 (Teal) 's Food used becomes Equal to 0.00
Player - Player 4 (Purple) 's Food used becomes Equal to 0.00
Conditions
And - All (Conditions) are true
Conditions
(Red_Unit is dead) Equal to True
(Blue_Unit is dead) Equal to True
(Teal_Unit is dead) Equal to True
(Purple_Unit is dead) Equal to True
Actions
Game - Defeat Player 1 (Red) with the message: You and your team are dead
Game - Defeat Player 2 (Blue) with the message: You and your team are dead
Game - Defeat Player 3 (Teal) with the message: You and your team are dead
Game - Defeat Player 4 (Purple) with the message: You and your team are dead
Game Over All Dead
Events
Unit - A unit Dies
Conditions
Or - Any (Conditions) are true
Conditions
(Dying unit) Equal to Red_Unit
(Dying unit) Equal to Blue_Unit
(Dying unit) Equal to Teal_Unit
(Dying unit) Equal to Purple_Unit
And - All (Conditions) are true
Conditions
(Red_Unit is dead) Equal to True
(Blue_Unit is dead) Equal to True
(Teal_Unit is dead) Equal to True
(Purple_Unit is dead) Equal to True
Actions
Game - Defeat Player 1 (Red) with the message: You and your team have been killed
Game - Defeat Player 2 (Blue) with the message: You and your team have been killed
Game - Defeat Player 3 (Teal) with the message: You and your team have been killed
Game - Defeat Player 4 (Purple) with the message: You and your team have been killed
Squad Leader Dies
Events
Unit - A unit Dies
Conditions
(Dying unit) Equal to Red_Unit
Actions
Set Variable Set Lives = (Lives - 1)
Game - Display to (All players) for 5.00 seconds the text: The |cffFF0000Squad Leader|r has died and will respawn in
Game - Display to (All players) for 5.00 seconds the text: The |cffFF0000Squad Leader|r has died and will respawn in
Wait 1.00 seconds
Game - Display to (All players) for 5.00 seconds the text: |cffFFFF003
Wait 1.00 seconds
Game - Display to (All players) for 5.00 seconds the text: |cffFFFF002
Wait 1.00 seconds
Game - Display to (All players) for 5.00 seconds the text: |cffFFFF001
Wait 1.00 seconds
Set Variable Set Chance = (Random integer number between 1 and 3)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Chance Equal to 1
(Blue_Unit is alive) Equal to True
Then - Actions
Unit - Create 1 |cffFF0000Squad Leader for Player 1 (Red) at (Position of Blue_Unit) facing (Position of Blue_Unit)
Set Variable Set Red_Unit = (Last created unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Chance Equal to 2
(Teal_Unit is alive) Equal to True
Then - Actions
Unit - Create 1 |cffFF0000Squad Leader for Player 1 (Red) at (Position of Teal_Unit) facing (Position of Teal_Unit)
Set Variable Set Red_Unit = (Last created unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Chance Equal to 3
(Purple_Unit is alive) Equal to True
Then - Actions
Unit - Create 1 |cffFF0000Squad Leader for Player 1 (Red) at (Position of Purple_Unit) facing (Position of Purple_Unit)
Set Variable Set Red_Unit = (Last created unit)
Else - Actions
Scout Dies
Events
Unit - A unit Dies
Conditions
(Dying unit) Equal to Blue_Unit
Actions
Set Variable Set Lives = (Lives - 1)
Game - Display to (All players) for 5.00 seconds the text: The |cff0000FFScout|r has died and will respawn in
Wait 1.00 seconds
Game - Display to (All players) for 5.00 seconds the text: |cffFFFF003
Wait 1.00 seconds
Game - Display to (All players) for 5.00 seconds the text: |cffFFFF002
Wait 1.00 seconds
Game - Display to (All players) for 5.00 seconds the text: |cffFFFF001
Wait 1.00 seconds
Set Variable Set Chance = (Random integer number between 1 and 3)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Chance Equal to 1
(Red_Unit is alive) Equal to True
Then - Actions
Unit - Create 1 |cff804000Scout for Player 2 (Blue) at (Position of Red_Unit) facing (Position of Red_Unit)
Set Variable Set Blue_Unit = (Last created unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Chance Equal to 2
(Teal_Unit is alive) Equal to True
Then - Actions
Unit - Create 1 |cff804000Scout for Player 2 (Blue) at (Position of Teal_Unit) facing (Position of Teal_Unit)
Set Variable Set Blue_Unit = (Last created unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Chance Equal to 3
(Purple_Unit is alive) Equal to True
Then - Actions
Unit - Create 1 |cff804000Scout for Player 2 (Blue) at (Position of Purple_Unit) facing (Position of Purple_Unit)
Set Variable Set Blue_Unit = (Last created unit)
Else - Actions
Sniper Dies
Events
Unit - A unit Dies
Conditions
(Dying unit) Equal to Teal_Unit
Actions
Set Variable Set Lives = (Lives - 1)
Game - Display to (All players) for 5.00 seconds the text: The |cff80FFFFSniper|r has died and will respawn in
Wait 1.00 seconds
Game - Display to (All players) for 5.00 seconds the text: |cffFFFF003
Wait 1.00 seconds
Game - Display to (All players) for 5.00 seconds the text: |cffFFFF002
Wait 1.00 seconds
Game - Display to (All players) for 5.00 seconds the text: |cffFFFF001
Wait 1.00 seconds
Set Variable Set Chance = (Random integer number between 1 and 3)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Chance Equal to 1
(Red_Unit is alive) Equal to True
Then - Actions
Unit - Create 1 |cff80FFFFSniper for Player 3 (Teal) at (Position of Red_Unit) facing (Position of Red_Unit)
Set Variable Set Teal_Unit = (Last created unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Chance Equal to 2
(Blue_Unit is alive) Equal to True
Then - Actions
Unit - Create 1 |cff80FFFFSniper for Player 3 (Teal) at (Position of Blue_Unit) facing (Position of Blue_Unit)
Set Variable Set Teal_Unit = (Last created unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Chance Equal to 3
(Purple_Unit is alive) Equal to True
Then - Actions
Unit - Create 1 |cff80FFFFSniper for Player 3 (Teal) at (Position of Purple_Unit) facing (Position of Purple_Unit)
Set Variable Set Teal_Unit = (Last created unit)
Else - Actions
Assassin Dies
Events
Unit - A unit Dies
Conditions
(Dying unit) Equal to Purple_Unit
Actions
Set Variable Set Lives = (Lives - 1)
Game - Display to (All players) for 5.00 seconds the text: The |cff400080Assassin|r has died and will respawn in
Wait 1.00 seconds
Game - Display to (All players) for 5.00 seconds the text: |cffFFFF003
Wait 1.00 seconds
Game - Display to (All players) for 5.00 seconds the text: |cffFFFF002
Wait 1.00 seconds
Game - Display to (All players) for 5.00 seconds the text: |cffFFFF001
Wait 1.00 seconds
Set Variable Set Chance = (Random integer number between 1 and 3)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Chance Equal to 1
(Red_Unit is alive) Equal to True
Then - Actions
Unit - Create 1 |cff400080Assassin for Player 4 (Purple) at (Position of Red_Unit) facing (Position of Red_Unit)
Set Variable Set Purple_Unit = (Last created unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Chance Equal to 2
(Blue_Unit is alive) Equal to True
Then - Actions
Unit - Create 1 |cff400080Assassin for Player 4 (Purple) at (Position of Blue_Unit) facing (Position of Blue_Unit)
Set Variable Set Purple_Unit = (Last created unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Chance Equal to 3
(Teal_Unit is alive) Equal to True
Then - Actions
Unit - Create 1 |cff400080Assassin for Player 4 (Purple) at (Position of Teal_Unit) facing (Position of Teal_Unit)
Set Variable Set Purple_Unit = (Last created unit)
Else - Actions
Enter Shrine
Events
Unit - A unit enters Realizer_Teleporter <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Red_Unit
(Entering unit) Equal to Blue_Unit
(Entering unit) Equal to Teal_Unit
(Entering unit) Equal to Purple_Unit
Actions
Unit - Move (Entering unit) instantly to (Center of Realizor_Dropoff <gen>)
Cinetic
Events
Unit - A unit enters Realizor_Cinetic <gen>
Conditions
Actions
Unit - Pause all units
Cinematic - Turn cinematic mode On for (All players)
Camera - Lock camera target for Player 1 (Red) to Demon Lord 0143 <gen> , offset by ( 0 , 0 ) using Default rotation
Camera - Lock camera target for Player 2 (Blue) to Demon Lord 0143 <gen> , offset by ( 0 , 0 ) using Default rotation
Camera - Lock camera target for Player 3 (Teal) to Demon Lord 0143 <gen> , offset by ( 0 , 0 ) using Default rotation
Camera - Lock camera target for Player 4 (Purple) to Demon Lord 0143 <gen> , offset by ( 0 , 0 ) using Default rotation
Camera - Shake the camera for Player 1 (Red) with magnitude 5.00
Camera - Shake the camera for Player 2 (Blue) with magnitude 5.00
Camera - Shake the camera for Player 3 (Teal) with magnitude 5.00
Camera - Shake the camera for Player 4 (Purple) with magnitude 5.00
Cinematic - Send transmission to (All players) from Demon Lord 0143 <gen> named Kal'oden : Play No sound and display Tremble weaklings! For I, have discovered the Demonic Arts! Now, feel my wraith! . Modify duration: Set to 5.00 seconds and Wait
Wait 5.00 seconds
Cinematic - Turn cinematic mode Off for (All players)
Camera - Stop swaying/shaking the camera for Player 1 (Red) .
Camera - Stop swaying/shaking the camera for Player 2 (Blue) .
Camera - Stop swaying/shaking the camera for Player 3 (Teal) .
Camera - Stop swaying/shaking the camera for Player 4 (Purple) .
Unit - Unpause all units
Camera - Lock camera target for Player 1 (Red) to Red_Unit , offset by ( 0 , 0 ) using Default rotation
Camera - Lock camera target for Player 2 (Blue) to Blue_Unit , offset by ( 0 , 0 ) using Default rotation
Camera - Lock camera target for Player 3 (Teal) to Teal_Unit , offset by ( 0 , 0 ) using Default rotation
Camera - Lock camera target for Player 4 (Purple) to Purple_Unit , offset by ( 0 , 0 ) using Default rotation
Trigger - Turn on Auto_Spawn_Demons <gen>
Trigger - Turn off Cinetic <gen>
Win
Events
Unit - A unit Dies
Conditions
(Dying unit) Equal to Demon Lord 0143 <gen>
Actions
Trigger - Turn off Auto_Spawn_Demons <gen>
Hero - Instantly revive Demon Lord 0143 <gen> at (Position of (Dying unit)) , Hide revival graphics
Cinematic - Turn cinematic mode On for (All players)
Cinematic - Send transmission to (All players) from Demon Lord 0143 <gen> named Kal'oden : Play No sound and display Ha ha ha ha! Even if I die, I shall return to take revenge on you pathetic life forms. I WILL RETURN! . Modify duration: Set to 2.50 seconds and Wait
Wait 2.50 seconds
Animation - Change Demon Lord 0143 <gen> 's size to ( 50.00 %, 50.00 %, 50.00 %) of its original size
Unit - Kill Demon Lord 0143 <gen>
Cinematic - Turn cinematic mode Off for (All players)
Auto Spawn Demons
Events
Time - Every 15.00 seconds of game time
Conditions
Actions
Unit - Create 1 Demon Mutant for Player 12 (Brown) at (Center of Demon_Spawn <gen>) facing (Position of Demon Lord 0143 <gen>)
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.