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
WarriorsofLightAndShadow.w3x
Variables
Teleport
Arena
Invunerable
Invunerable
Vunerable
Cash
Aid
Cash
Lumber
Player Leaves
Player 1
Left 1
Player 2
Left 2
Player 3
Left 3
Player 4
Left 4
Player 5
Left 5
Player 6
Left 6
Player 7
Left 7
Player 8
Left 8
Player 9
Left 9
Player 10
Left 10
Player 11
Left 11
Player 12
Left 12
Other
Kill Souls
No Attack Allies
Souls
Timer
Special Effects
Reveal
Floating Text
Repick
Revive
Hero Experience
Hero Selection
Hero Dies
Night
Heal
Kill
Kill 2
Game Ender
Spawn Game Ender
Order 1
Order 2
Order 3
Order 4
Order 5
Defeat Conditions
Victory
Hero Deaths
Defeat
Leaderboard
Leaderboard
Kill Tally
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_kills
integer
Yes
Arena
Events
Unit - A unit enters Enter_Stadium <gen>
Conditions
Actions
Unit - Move (Entering unit) instantly to (Random point in Stadium <gen>)
Invunerable
Events
Unit - A unit enters Preperation <gen>
Unit - A unit enters Choose <gen>
Conditions
Actions
Unit - Make (Entering unit) Invulnerable
Vunerable
Events
Unit - A unit enters Stadium <gen>
Conditions
((Entering unit) is A Hero) Equal to True
Actions
Unit - Make (Entering unit) Vulnerable
Special Effect - Create a special effect at (Position of (Entering unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
Aid
Events
Time - Every 180.00 seconds of game time
Conditions
Actions
Game - Display to (All players) for 5.00 seconds the text: Heres a little something to help ya out.|cff32cd32+1 Level Cross|r|cffffcc00+3 Gold|r
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Add 1 to (Picked player) . Current lumber
Player - Add 3 to (Picked player) . Current gold
Cash
Events
Unit - A unit Dies
Conditions
((Dying unit) belongs to an ally of (Owner of (Killing unit)).) Equal to False
Actions
Player - Add 1 to (Owner of (Killing unit)) . Current gold
Lumber
Events
Unit - A unit Dies
Conditions
((Dying unit) is A Hero) Equal to True
((Dying unit) belongs to an ally of (Owner of (Killing unit)).) Equal to False
Actions
Player - Add 1 to (Owner of (Killing unit)) . Current lumber
Player 1
Events
Player - Player 1 (Red) leaves the game
Conditions
Actions
Trigger - Turn on Left_1 <gen>
Leaderboard - Remove (Triggering player) from (Last created leaderboard) .
Wait 3.00 seconds
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 1 (Red)) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Left 1
Events
Unit - A unit enters (Playable map area)
Conditions
(Owner of (Entering unit)) Equal to Player 1 (Red)
Actions
Unit - Remove (Entering unit) from the game
Player 2
Events
Player - Player 2 (Blue) leaves the game
Conditions
Actions
Trigger - Turn on Left_2 <gen>
Leaderboard - Remove (Triggering player) from (Last created leaderboard) .
Wait 3.00 seconds
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 2 (Blue)) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Left 2
Events
Unit - A unit enters (Playable map area)
Conditions
(Owner of (Entering unit)) Equal to Player 2 (Blue)
Actions
Unit - Remove (Entering unit) from the game
Player 3
Events
Player - Player 3 (Teal) leaves the game
Conditions
Actions
Trigger - Turn on Left_3 <gen>
Leaderboard - Remove (Triggering player) from (Last created leaderboard) .
Wait 3.00 seconds
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 3 (Teal)) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Left 3
Events
Unit - A unit enters (Playable map area)
Conditions
(Owner of (Entering unit)) Equal to Player 3 (Teal)
Actions
Unit - Remove (Entering unit) from the game
Player 4
Events
Player - Player 4 (Purple) leaves the game
Conditions
Actions
Trigger - Turn on Left_4 <gen>
Leaderboard - Remove (Triggering player) from (Last created leaderboard) .
Wait 3.00 seconds
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 4 (Purple)) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Left 4
Events
Unit - A unit enters (Playable map area)
Conditions
(Owner of (Entering unit)) Equal to Player 4 (Purple)
Actions
Unit - Remove (Entering unit) from the game
Player 5
Events
Player - Player 5 (Yellow) leaves the game
Conditions
Actions
Trigger - Turn on Left_5 <gen>
Leaderboard - Remove (Triggering player) from (Last created leaderboard) .
Wait 3.00 seconds
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 5 (Yellow)) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Left 5
Events
Unit - A unit enters (Playable map area)
Conditions
(Owner of (Entering unit)) Equal to Player 5 (Yellow)
Actions
Unit - Remove (Entering unit) from the game
Player 6
Events
Player - Player 6 (Orange) leaves the game
Conditions
Actions
Trigger - Turn on Left_6 <gen>
Leaderboard - Remove (Triggering player) from (Last created leaderboard) .
Wait 3.00 seconds
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 6 (Orange)) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Left 6
Events
Unit - A unit enters (Playable map area)
Conditions
(Owner of (Entering unit)) Equal to Player 6 (Orange)
Actions
Unit - Remove (Entering unit) from the game
Player 7
Events
Player - Player 7 (Green) leaves the game
Conditions
Actions
Trigger - Turn on Left_7 <gen>
Leaderboard - Remove (Triggering player) from (Last created leaderboard) .
Wait 3.00 seconds
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 7 (Green)) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Left 7
Events
Unit - A unit enters (Playable map area)
Conditions
(Owner of (Entering unit)) Equal to Player 7 (Green)
Actions
Unit - Remove (Entering unit) from the game
Player 8
Events
Player - Player 8 (Pink) leaves the game
Conditions
Actions
Trigger - Turn on Left_8 <gen>
Leaderboard - Remove (Triggering player) from (Last created leaderboard) .
Wait 3.00 seconds
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 8 (Pink)) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Left 8
Events
Unit - A unit enters (Playable map area)
Conditions
(Owner of (Entering unit)) Equal to Player 8 (Pink)
Actions
Unit - Remove (Entering unit) from the game
Player 9
Events
Player - Player 9 (Gray) leaves the game
Conditions
Actions
Trigger - Turn on Left_9 <gen>
Leaderboard - Remove (Triggering player) from (Last created leaderboard) .
Wait 3.00 seconds
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 9 (Gray)) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Left 9
Events
Unit - A unit enters (Playable map area)
Conditions
(Owner of (Entering unit)) Equal to Player 9 (Gray)
Actions
Unit - Remove (Entering unit) from the game
Player 10
Events
Player - Player 10 (Light Blue) leaves the game
Conditions
Actions
Trigger - Turn on Left_10 <gen>
Leaderboard - Remove (Triggering player) from (Last created leaderboard) .
Wait 3.00 seconds
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 10 (Light Blue)) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Left 10
Events
Unit - A unit enters (Playable map area)
Conditions
(Owner of (Entering unit)) Equal to Player 10 (Light Blue)
Actions
Unit - Remove (Entering unit) from the game
Player 11
Events
Player - Player 11 (Dark Green) leaves the game
Conditions
Actions
Trigger - Turn on Left_11 <gen>
Leaderboard - Remove (Triggering player) from (Last created leaderboard) .
Wait 3.00 seconds
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 11 (Dark Green)) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Left 11
Events
Unit - A unit enters (Playable map area)
Conditions
(Owner of (Entering unit)) Equal to Player 11 (Dark Green)
Actions
Unit - Remove (Entering unit) from the game
Player 12
Events
Player - Player 11 (Dark Green) leaves the game
Conditions
Actions
Trigger - Turn on Left_12 <gen>
Leaderboard - Remove (Triggering player) from (Last created leaderboard) .
Wait 3.00 seconds
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 12 (Brown)) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Left 12
Events
Unit - A unit enters (Playable map area)
Conditions
(Owner of (Entering unit)) Equal to Player 12 (Brown)
Actions
Unit - Remove (Entering unit) from the game
Kill Souls
Events
Time - Elapsed game time is 900.00 seconds
Conditions
Actions
Unit Group - Pick every unit in (Units in Choose <gen> matching ((Unit-type of (Matching unit)) Equal to Soul)) and do (Actions)
Loop - Actions
Unit - Kill (Picked unit)
No Attack Allies
Events
Unit - A unit Is attacked
Conditions
((Owner of (Attacking unit)) is an ally of (Owner of (Attacked unit)).) Equal to True
Actions
Unit - Order (Attacking unit) to Stop .
Souls
Events
Time - Elapsed game time is 3.00 seconds
Conditions
Actions
Player Group - Pick every player in (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) controller) Equal to User)).) and do (Actions)
Loop - Actions
Unit - Create 1 . Soul for (Picked player) at ((Picked player) start location) facing 90.00 degrees
Timer
Events
Time - Elapsed game time is 3.00 seconds
Conditions
Actions
Countdown Timer - Create a timer window for (Last started timer) with title Countdown
Countdown Timer - Start (Last started timer) as a One-shot timer that will expire in 897.00 seconds
Countdown Timer - Show (Last created timer window)
Special Effects
Events
Time - Every 7.00 seconds of game time
Conditions
Actions
Special Effect - Create a special effect at (Position of Light 0003 <gen>) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
Special Effect - Create a special effect at (Position of Shadow 0002 <gen>) using Units\Demon\Infernal\InfernalBirth.mdl
Reveal
Events
Time - Elapsed game time is 3.00 seconds
Conditions
Actions
Visibility - Disable fog of war
Visibility - Disable black mask
Floating Text
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Floating Text - Create floating text that reads Light at (Center of Light <gen>) with Z offset 0 , using font size 14.00 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Floating Text - Create floating text that reads Shadow at (Center of Shadow <gen>) with Z offset 0 , using font size 14.00 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Repick
Events
Player - Player 1 (Red) types a chat message containing -repick (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing -repick (Unexpected type: 'stringnoformat') as An exact match
Player - Player 3 (Teal) types a chat message containing -repick (Unexpected type: 'stringnoformat') as An exact match
Player - Player 4 (Purple) types a chat message containing -repick (Unexpected type: 'stringnoformat') as An exact match
Player - Player 5 (Yellow) types a chat message containing -repick (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing -repick (Unexpected type: 'stringnoformat') as An exact match
Player - Player 7 (Green) types a chat message containing -repick (Unexpected type: 'stringnoformat') as An exact match
Player - Player 8 (Pink) types a chat message containing -repick (Unexpected type: 'stringnoformat') as An exact match
Player - Player 9 (Gray) types a chat message containing -repick (Unexpected type: 'stringnoformat') as An exact match
Player - Player 10 (Light Blue) types a chat message containing -repick (Unexpected type: 'stringnoformat') as An exact match
Player - Player 11 (Dark Green) types a chat message containing -repick (Unexpected type: 'stringnoformat') as An exact match
Player - Player 12 (Brown) types a chat message containing -repick (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit Group - Pick every unit in (Random 1 units from (Units owned by (Triggering player) matching (((Matching unit) is A Hero) Equal to True).)) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Unit - Create 1 . Soul for (Triggering player) at ((Triggering player) start location) facing Default building facing degrees
Camera - Pan camera for (Triggering player) to ((Triggering player) start location) over 0 seconds
Revive
Events
Unit - A unit Becomes revivable
Conditions
Actions
Wait 1.00 seconds
Hero - Instantly revive (Revivable Hero) at (Center of Preperation_Waygate <gen>) , Show revival graphics
Hero Experience
Events
Time - Elapsed game time is 3.00 seconds
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Hero - Make (Picked player) Heroes gain 0.00 % experience from future kills
Hero Selection
Events
Unit - Light 0003 <gen> Sells a unit
Unit - Shadow 0002 <gen> Sells a unit
Conditions
Actions
Unit - Remove (Buying unit) from the game
Unit - Move (Sold unit) instantly to (Center of Preperation_Waygate <gen>)
Camera - Lock camera target for (Owner of (Buying unit)) to (Sold unit) , offset by ( 0 , 0 ) using Default rotation
Hero Dies
Events
Unit - A unit Becomes revivable
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area) owned by (Owner of (Revivable Hero))) and do (Actions)
Loop - Actions
Unit - Kill (Picked unit)
Night
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Game - Turn the day/night cycle Off
Game - Set the time of day to 12.00
Heal
Events
Unit - A unit enters Preperation <gen>
Conditions
Actions
Unit - Set life of (Entering unit) to 100 %
Unit - Set mana of (Entering unit) to 100 %
Kill
Events
Unit - A unit enters Preperation <gen>
Conditions
((Entering unit) is A Hero) Equal to False
Actions
Unit - Kill (Entering unit)
Kill 2
Events
Unit - A unit Spawns a summoned unit
Conditions
(Choose <gen> contains (Summoned unit)) Equal to True
Actions
Unit - Kill (Summoned unit)
Spawn Game Ender
Events
Time - Elapsed game time is 900.00 seconds
Conditions
Actions
Countdown Timer - Destroy (Last created timer window)
Unit - Create 1 . Midnyte for Neutral Hostile at (Random point in Order_1 <gen>) facing Default building facing degrees
Quest - Display to (All players) the Warning message: |cffff0000Midnyte The Game Ender Has Just Spawned!|r|cffffcc00Survive And You Will Win!|r
Trigger - Turn off Revive <gen>
Trigger - Turn off Repick <gen>
Unit - Kill Safe Zone 0008 <gen>
Player Group - Make (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing)).) treat (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing)).) as an Ally with shared vision
Unit Group - Pick every unit in (Units in Preperation <gen> matching (((Matching unit) is A structure) Equal to False)) and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to (Random point in Stadium <gen>)
Camera - Pan camera for (Owner of (Picked unit)) to (Position of (Picked unit)) over 0 seconds
Wait 1.00 seconds
Trigger - Turn on Victory <gen>
Trigger - Turn on Hero_Deaths <gen>
Order 1
Events
Unit - A unit enters Order_1 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Midnyte
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Order_2 <gen>)
Order 2
Events
Unit - A unit enters Order_2 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Midnyte
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Order_3 <gen>)
Order 3
Events
Unit - A unit enters Order_3 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Midnyte
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Order_4 <gen>)
Order 4
Events
Unit - A unit enters Order_4 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Midnyte
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Order_5 <gen>)
Order 5
Events
Unit - A unit enters Order_5 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Midnyte
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Order_1 <gen>)
Victory
Events
Time - Every 1.00 seconds of game time
Conditions
(Number of units in (Units in (Playable map area) matching (((Matching unit) is A Hero) Equal to True))) Equal to 1
Actions
Unit Group - Pick every unit in (Units in (Playable map area) matching (((Matching unit) is A Hero) Equal to True)) and do (Actions)
Loop - Actions
Game - Victory (Owner of (Picked unit)) ( Show dialogs, Skip scores)
Hero Deaths
Events
Unit - A unit Dies
Conditions
((Dying unit) is A Hero) Equal to True
Actions
Game - Defeat (Owner of (Dying unit)) with the message: Game Over!
Defeat
Events
Player - Player 1 (Red) leaves the game with a defeat
Player - Player 2 (Blue) leaves the game with a defeat
Player - Player 3 (Teal) leaves the game with a defeat
Player - Player 4 (Purple) leaves the game with a defeat
Player - Player 5 (Yellow) leaves the game with a defeat
Player - Player 6 (Orange) leaves the game with a defeat
Player - Player 7 (Green) leaves the game with a defeat
Player - Player 8 (Pink) leaves the game with a defeat
Player - Player 9 (Gray) leaves the game with a defeat
Player - Player 10 (Light Blue) leaves the game with a defeat
Player - Player 11 (Dark Green) leaves the game with a defeat
Player - Player 12 (Brown) leaves the game with a defeat
Conditions
Actions
Leaderboard - Remove (Triggering player) from (Last created leaderboard) .
Leaderboard
Events
Time - Elapsed game time is 3.00 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled Kills:
Player Group - Pick every player in (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing)).) and do (Actions)
Loop - Actions
Leaderboard - Add (Picked player) to (Last created leaderboard) with label (Name of (Picked player)) and value 0
Leaderboard - Show (Last created leaderboard)
Kill Tally
Events
Unit - A unit Dies
Conditions
Actions
Set Variable Set Player_kills[(Player number of (Owner of (Killing unit)))] = (Player_kills[(Player number of (Owner of (Killing unit)))] + 1)
Leaderboard - Change the value for (Owner of (Killing unit)) in (Last created leaderboard) to Player_kills[(Player number of (Owner of (Killing unit)))]
Leaderboard - Sort (Last created leaderboard) by Value in Descending order
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.