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
Battle Royale V0.1 Release!.w3x
Variables
Initialization
Melee Initialization
Items
Money Random Around Map
Random Powerups
DDPowerup
Adrenaline
Leavers&UnusedorComp
Someone Leaves
PUnusedorComp
PUnusedorComp Copy
PUnusedorComp Copy 2
PUnusedorComp Copy 3
PUnusedorComp Copy 4
PUnusedorComp Copy 5
PUnusedorComp Copy 6
PUnusedorComp Copy 7
PUnusedorComp Copy 8
PUnusedorComp Copy 9
PUnusedorComp Copy 10
PUnusedorComp Copy 11
P1 Mode Setting
Mode Dialog
Mode Setting
If Deathmatch
If Teams
Sounds
Kill Count
First Unit Death
Sounds
Scoring
Leaderboard
Gun Switches
BELOW ARE GUN SWITCHING!
Submachine Gun
Assault Rifle
Shotgun
Flamethrower
Sniper Rifle
Scope
Match Wins
Score to 15
No Turret Building
AntiTurretMid
Car Working
Car Jacking
Car Jacking 2
Reviving
Player Dies
Name
Type
is_array
initial_value
DeathMatch
button
No
Kill
integer
No
ModeDialogue
dialog
No
Players
force
No
Powerup
integer
No
Scope
integer
No
TeamDMatch
button
No
Timer
timer
No
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Melee Game - Remove creeps and critters from used start locations (for all players)
Player Group - Add Player 1 (Red) to Players
Player Group - Add Player 2 (Blue) to Players
Player Group - Add Player 3 (Teal) to Players
Player Group - Add Player 4 (Purple) to Players
Player Group - Add Player 5 (Yellow) to Players
Player Group - Add Player 6 (Orange) to Players
Player Group - Add Player 7 (Green) to Players
Player Group - Add Player 8 (Pink) to Players
Player Group - Add Player 9 (Gray) to Players
Player Group - Add Player 10 (Light Blue) to Players
Player Group - Add Player 11 (Dark Green) to Players
Player Group - Add Player 12 (Brown) to Players
Cinematic - Fade out and back in over 4.00 seconds using texture war3mapImported\Thingthingthingy.tga (Unexpected type: 'cinefiltertexture') and color ( 100.00 %, 100.00 %, 100.00 %) with 0 % transparency
Money Random Around Map
Events
Time - Every 480.00 seconds of game time
Conditions
Actions
Item - Create Gold Coins at (Random point in The_Whole_Map <gen>)
Random Powerups
Events
Time - Every 600.00 seconds of game time
Conditions
Actions
Set Variable Set Powerup = (Random integer number between 1 and 3)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Powerup Equal to 1
Then - Actions
Item - Create Health Powerup at (Random point in The_Whole_Map <gen>)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Powerup Equal to 2
Then - Actions
Item - Create Double Damage at (Random point in The_Whole_Map <gen>)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Powerup Equal to 3
Then - Actions
Item - Create Adrenaline at (Random point in The_Whole_Map <gen>)
Else - Actions
DDPowerup
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Double Damage
Actions
Unit - Add Double Damage (Neutral Hostile) to (Triggering unit)
Wait 10.00 seconds
Unit - Remove Double Damage (Neutral Hostile) from (Triggering unit)
Adrenaline
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Adrenaline
Actions
Unit - Add Adrenaline to (Triggering unit)
Wait 5.00 seconds
Unit - Remove Adrenaline from (Triggering unit)
Someone Leaves
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
Player - Player 8 (Pink) leaves the game
Player - Player 9 (Gray) leaves the game
Player - Player 10 (Light Blue) leaves the game
Player - Player 11 (Dark Green) leaves the game
Player - Player 12 (Brown) leaves the game
Conditions
Actions
Player Group - Remove (Triggering player) from Players .
Unit Group - Pick every unit in (Units owned by (Triggering player).) and do (Remove (Picked unit) from the game)
Leaderboard - Remove (Triggering player) from (Last created leaderboard) .
Game - Display to (All players) for 10.00 seconds the text: ((Name of (Triggering player)) + couldn't take the heat!)
PUnusedorComp
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Or - Any (Conditions) are true
Conditions
(Player 1 (Red) controller) Equal to None
(Player 1 (Red) controller) Equal to Computer
Actions
Unit Group - Pick every unit in (Units owned by Player 1 (Red).) and do (Remove (Picked unit) from the game)
Leaderboard - Remove Player 1 (Red) from (Last created leaderboard) .
PUnusedorComp Copy
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Or - Any (Conditions) are true
Conditions
(Player 2 (Blue) controller) Equal to Computer
(Player 2 (Blue) controller) Equal to None
Actions
Unit Group - Pick every unit in (Units owned by Player 2 (Blue).) and do (Remove (Picked unit) from the game)
Leaderboard - Remove Player 2 (Blue) from (Last created leaderboard) .
PUnusedorComp Copy 2
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Or - Any (Conditions) are true
Conditions
(Player 3 (Teal) controller) Equal to Computer
(Player 3 (Teal) controller) Equal to None
Actions
Unit Group - Pick every unit in (Units owned by Player 3 (Teal).) and do (Remove (Picked unit) from the game)
Leaderboard - Remove Player 3 (Teal) from (Last created leaderboard) .
PUnusedorComp Copy 3
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Or - Any (Conditions) are true
Conditions
(Player 4 (Purple) controller) Equal to Computer
(Player 4 (Purple) controller) Equal to None
Actions
Unit Group - Pick every unit in (Units owned by Player 4 (Purple).) and do (Remove (Picked unit) from the game)
Leaderboard - Remove Player 4 (Purple) from (Last created leaderboard) .
PUnusedorComp Copy 4
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Or - Any (Conditions) are true
Conditions
(Player 5 (Yellow) controller) Equal to Computer
(Player 5 (Yellow) controller) Equal to None
Actions
Unit Group - Pick every unit in (Units owned by Player 5 (Yellow).) and do (Remove (Picked unit) from the game)
Leaderboard - Remove Player 5 (Yellow) from (Last created leaderboard) .
PUnusedorComp Copy 5
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Or - Any (Conditions) are true
Conditions
(Player 6 (Orange) controller) Equal to Computer
(Player 6 (Orange) controller) Equal to None
Actions
Unit Group - Pick every unit in (Units owned by Player 6 (Orange).) and do (Remove (Picked unit) from the game)
Leaderboard - Remove Player 6 (Orange) from (Last created leaderboard) .
PUnusedorComp Copy 6
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Or - Any (Conditions) are true
Conditions
(Player 7 (Green) controller) Equal to Computer
(Player 7 (Green) controller) Equal to None
Actions
Unit Group - Pick every unit in (Units owned by Player 7 (Green).) and do (Remove (Picked unit) from the game)
Leaderboard - Remove Player 7 (Green) from (Last created leaderboard) .
PUnusedorComp Copy 7
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Or - Any (Conditions) are true
Conditions
(Player 8 (Pink) controller) Equal to Computer
(Player 8 (Pink) controller) Equal to None
Actions
Unit Group - Pick every unit in (Units owned by Player 8 (Pink).) and do (Remove (Picked unit) from the game)
Leaderboard - Remove Player 8 (Pink) from (Last created leaderboard) .
PUnusedorComp Copy 8
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Or - Any (Conditions) are true
Conditions
(Player 9 (Gray) controller) Equal to Computer
(Player 9 (Gray) controller) Equal to None
Actions
Unit Group - Pick every unit in (Units owned by Player 9 (Gray).) and do (Remove (Picked unit) from the game)
Leaderboard - Remove Player 9 (Gray) from (Last created leaderboard) .
PUnusedorComp Copy 9
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Or - Any (Conditions) are true
Conditions
(Player 10 (Light Blue) controller) Equal to Computer
(Player 10 (Light Blue) controller) Equal to None
Actions
Unit Group - Pick every unit in (Units owned by Player 10 (Light Blue).) and do (Remove (Picked unit) from the game)
Leaderboard - Remove Player 10 (Light Blue) from (Last created leaderboard) .
PUnusedorComp Copy 10
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Or - Any (Conditions) are true
Conditions
(Player 11 (Dark Green) controller) Equal to Computer
(Player 11 (Dark Green) controller) Equal to None
Actions
Unit Group - Pick every unit in (Units owned by Player 11 (Dark Green).) and do (Remove (Picked unit) from the game)
Leaderboard - Remove Player 11 (Dark Green) from (Last created leaderboard) .
PUnusedorComp Copy 11
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Or - Any (Conditions) are true
Conditions
(Player 12 (Brown) controller) Equal to Computer
(Player 12 (Brown) controller) Equal to None
Actions
Unit Group - Pick every unit in (Units owned by Player 12 (Brown).) and do (Remove (Picked unit) from the game)
Leaderboard - Remove Player 12 (Brown) from (Last created leaderboard) .
Mode Dialog
Events
Time - Elapsed game time is 3.00 seconds
Conditions
Actions
Dialog - Clear ModeDialogue
Dialog - Create a dialog button for ModeDialogue labelled Deathmatch
Set Variable Set DeathMatch = (Last created dialog Button)
Dialog - Create a dialog button for ModeDialogue labelled Team Deathmatch
Set Variable Set TeamDMatch = (Last created dialog Button)
Dialog - Change the title of ModeDialogue to Which Mode
Dialog - Show ModeDialogue for Player 1 (Red)
If Deathmatch
Events
Dialog - A dialog button is clicked for ModeDialogue
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to DeathMatch
Then - Actions
Game - Display to (All players) for 5.00 seconds the text: Setting up game play...
Wait 5.00 seconds
Game - Display to (All players) for 5.00 seconds the text: BEGIN!!!
Else - Actions
If Teams
Events
Dialog - A dialog button is clicked for ModeDialogue
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to TeamDMatch
Then - Actions
Game - Display to (All players) for 5.00 seconds the text: Setting up team game play...
Wait 5.00 seconds
Player - Make Player 1 (Red) treat Player 2 (Blue) as an Ally
Player - Make Player 2 (Blue) treat Player 1 (Red) as an Ally
Player - Make Player 3 (Teal) treat Player 4 (Purple) as an Ally
Player - Make Player 4 (Purple) treat Player 3 (Teal) as an Ally
Player - Make Player 5 (Yellow) treat Player 6 (Orange) as an Ally
Player - Make Player 6 (Orange) treat Player 5 (Yellow) as an Ally
Player - Make Player 7 (Green) treat Player 8 (Pink) as an Ally
Player - Make Player 8 (Pink) treat Player 7 (Green) as an Ally
Player - Make Player 9 (Gray) treat Player 10 (Light Blue) as an Ally
Player - Make Player 10 (Light Blue) treat Player 9 (Gray) as an Ally
Player - Make Player 11 (Dark Green) treat Player 12 (Brown) as an Ally
Player - Make Player 12 (Brown) treat Player 11 (Dark Green) as an Ally
Game - Display to (All players) for 5.00 seconds the text: BEGIN!!!
Else - Actions
Kill Count
Events
Unit - A unit Dies
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Set Variable Set Kill = (Kill + 1)
Leaderboard - Change the value for (Owner of (Killing unit)) in (Last created leaderboard) to Kill
Game - Display to (All players) for 5.00 seconds the text: ((Name of (Dying unit)) + ( got obliterated by + (Name of (Killing unit))))
Leaderboard - Sort (Last created leaderboard) by Value in Descending order
Player - Add 100 to (Owner of (Killing unit)) . Current gold
Set Variable Set Kill = "0"
First Unit Death
Events
Unit - A unit Dies
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Game - Display to (All players) for 5.00 seconds the text: |CFFED1C24First Blood!
Sound - Play firstblood <gen>
Trigger - Turn off (This trigger)
Sounds
Events
Unit - A unit Dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) is A Hero) Equal to True
Kill Equal to 2
Then - Actions
Game - Display to (All players) for 5.00 seconds the text: |CFFED1C24Double Kill!
Sound - Play doublekill <gen>
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) is A Hero) Equal to True
Kill Equal to 4
Then - Actions
Game - Display to (All players) for 5.00 seconds the text: |CFFED1C24Dominating!
Sound - Play dominating <gen>
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) is A Hero) Equal to True
Kill Equal to 6
Then - Actions
Game - Display to (All players) for 5.00 seconds the text: |CFFED1C24Killing Spree!
Sound - Play killingspree <gen>
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) is A Hero) Equal to True
Kill Equal to 8
Then - Actions
Game - Display to (All players) for 5.00 seconds the text: |CFFED1C24M-M-M-M-M-M-MONSTER KILL!
Sound - Play monsterkill <gen>
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) is A Hero) Equal to True
Kill Equal to 10
Then - Actions
Game - Display to (All players) for 5.00 seconds the text: |CFFED1C24Unstoppable!
Sound - Play unstoppable <gen>
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) is A Hero) Equal to True
Kill Equal to 12
Then - Actions
Game - Display to (All players) for 5.00 seconds the text: |CFFED1C24GOD LIKE!
Sound - Play godlike <gen>
Else - Actions
Leaderboard
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled Battle Royale V0.1B Kills
Leaderboard - Add Player 1 (Red) to (Last created leaderboard) with label Contestant and value Kill
Leaderboard - Add Player 2 (Blue) to (Last created leaderboard) with label Contestant and value Kill
Leaderboard - Add Player 3 (Teal) to (Last created leaderboard) with label Contestant and value Kill
Leaderboard - Add Player 4 (Purple) to (Last created leaderboard) with label Contestant and value Kill
Leaderboard - Add Player 5 (Yellow) to (Last created leaderboard) with label Contestant and value Kill
Leaderboard - Add Player 6 (Orange) to (Last created leaderboard) with label Contestant and value Kill
Leaderboard - Add Player 7 (Green) to (Last created leaderboard) with label Contestant and value Kill
Leaderboard - Add Player 8 (Pink) to (Last created leaderboard) with label Contestant and value Kill
Leaderboard - Add Player 9 (Gray) to (Last created leaderboard) with label Contestant and value Kill
Leaderboard - Add Player 10 (Light Blue) to (Last created leaderboard) with label Contestant and value Kill
Leaderboard - Add Player 11 (Dark Green) to (Last created leaderboard) with label Contestant and value Kill
Leaderboard - Add Player 12 (Brown) to (Last created leaderboard) with label Contestant and value Kill
Leaderboard - Sort (Last created leaderboard) by Value in Descending order
Submachine Gun
Events
Unit - A unit Uses an item
Conditions
(Item-type of (Item being manipulated)) Equal to SubMachine Gun
Actions
Unit - Replace (Triggering unit) with a Player w/ SubMachine Gun using The old unit's relative life and mana
Assault Rifle
Events
Unit - A unit Uses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Assault Rifle
Actions
Unit - Replace (Triggering unit) with a Player w/ AssaultRifle using The old unit's relative life and mana
Shotgun
Events
Unit - A unit Uses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Shotgun
Actions
Unit - Replace (Triggering unit) with a Player w/ Shotgun using The old unit's relative life and mana
Flamethrower
Events
Conditions
Actions
Sniper Rifle
Events
Unit - A unit Uses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Sniper Rifle
Actions
Unit - Replace (Triggering unit) with a Player w/ Sniper using The old unit's relative life and mana
Scope
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Scope (Neutral Hostile 1), (Neutral Hostile)
Actions
Set Variable Set Scope = "1"
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Scope Equal to 1
Then - Actions
Camera - Pan camera for (Owner of (Casting unit)) to ((Position of (Casting unit)) offset by 600.00 towards 0 degrees.) over 0 seconds
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Scope Equal to 0
Then - Actions
Camera - Reset camera for (Owner of (Casting unit)) to standard game-view over 0 seconds
Else - Actions
Score to 15
Events
Unit - A unit Dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Kill Equal to 30
((Triggering unit) is A Hero) Equal to True
Then - Actions
Unit - Pause all units
Game - Display to (All players) for 10.00 seconds the text: MATCH ENDED!
Game - Display to (All players) for 5.00 seconds the text: Resetting game...
Set Variable Set Kill = "0"
Player Group - Pick every player in Players and do (Change the value for (Picked player) in (Last created leaderboard) to Kill)
Wait 5.00 seconds
Player Group - Pick every player in Players and do (Pick every unit in (Units owned by (Picked player).) and do (Remove (Picked unit) from the game))
Dialog - Clear ModeDialogue
Dialog - Create a dialog button for ModeDialogue labelled Deathmatch
Set Variable Set DeathMatch = (Last created dialog Button)
Dialog - Create a dialog button for ModeDialogue labelled Team Deathmatch
Set Variable Set TeamDMatch = (Last created dialog Button)
Dialog - Change the title of ModeDialogue to Which Mode
Dialog - Show ModeDialogue for Player 1 (Red)
Player Group - Pick every player in Players and do (Create 1 Player for (Picked player) at (Random point in The_Whole_Map <gen>) facing (Position of (Triggering unit)))
Else - Actions
AntiTurretMid
Events
Unit - A unit enters AntiTurret <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Turret
Actions
Unit - Remove (Triggering unit) from the game
Game - Display to (All players) for 5.00 seconds the text: ANTI TURRET BUILDING IN MIDDLE!
Car Jacking
Events
Unit - A unit comes within 125.00 of Car 0029 <gen>
Conditions
Actions
Floating Text - Create floating text that reads Hotwiring.... above Car 0029 <gen> with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Change the lifespan of (Last created floating text) to 4.00 seconds
Wait 4.00 seconds
Floating Text - Create floating text that reads Complete! above Car 0029 <gen> with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
Unit - Change ownership of Car 0029 <gen> to (Owner of (Triggering unit)) and Retain color
Car Jacking 2
Events
Unit - A unit comes within 125.00 of Car 0030 <gen>
Conditions
Actions
Floating Text - Create floating text that reads Hotwiring.... above Car 0030 <gen> with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Change the lifespan of (Last created floating text) to 4.00 seconds
Wait 4.00 seconds
Floating Text - Create floating text that reads Complete! above Car 0030 <gen> with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
Unit - Change ownership of Car 0030 <gen> to (Owner of (Triggering unit)) and Retain color
Player Dies
Events
Unit - A unit Dies
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Game - Display to (All players) for 15.00 seconds the text: Revival in 15 seconds...
Wait 15.00 seconds
Hero - Instantly revive (Dying unit) at (Random point in The_Whole_Map <gen>) , Hide revival graphics
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.