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
5Runnermap.w3x
Variables
Initialization
Melee Initialization
Timer
Createtimer
Game-End
Flagcap
Timerfinish
RunnerDies
RunnerDies
Flagdropped
WhereisRunner?
Furthestrunner
Furthestrunner2
Furthestrunner3
Flagmove1teamonly
deselect
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
Runnerpos
integer
No
Timer
timer
No
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Visibility - Disable black mask
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Fog of war across (Playable map area)
Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Fog of war across (Playable map area)
Visibility - Create an initially Enabled visibility modifier for Player 3 (Teal) emitting Fog of war across (Playable map area)
Visibility - Create an initially Enabled visibility modifier for Player 4 (Purple) emitting Fog of war across (Playable map area)
Visibility - Create an initially Enabled visibility modifier for Player 5 (Yellow) emitting Fog of war across (Playable map area)
Camera - Pan camera for Player 1 (Red) to (Position of Runner 0004 <gen>) over 2.00 seconds
Camera - Pan camera for Player 2 (Blue) to (Position of Runner 0003 <gen>) over 2.00 seconds
Camera - Pan camera for Player 3 (Teal) to (Position of Paladin 0007 <gen>) over 2.00 seconds
Camera - Pan camera for Player 4 (Purple) to (Position of Paladin 0008 <gen>) over 2.00 seconds
Camera - Pan camera for Player 5 (Yellow) to (Position of Runner 0005 <gen>) over 2.00 seconds
Game - Display to (All players) for 20.00 seconds the text: Objective: Runners get the flag to the circle of power located at the far end within the timelimit to win. Defenders stop and hold them up until the timelimit runs out for your team to win.
For each (Integer B) from 1 to 5 , do (Pan camera for (Player((Integer B))) to (Position of (Last created unit)) over 2.00 seconds)
For each (Integer A) from 6 to 10 , do (Actions)
Loop - Actions
Unit - Create 1 . Shadow Hunter for (Player((Integer A))) at (Random point in Region_006 <gen>) facing Default building facing degrees
Hero - Set (Last created unit) Hero-level to 10 , Hide level-up graphics
Hero - Learn skill for (Last created unit) : Orc Shadow Hunter - Serpent Ward
Hero - Learn skill for (Last created unit) : Orc Shadow Hunter - Serpent Ward
Hero - Learn skill for (Last created unit) : Orc Shadow Hunter - Serpent Ward
Hero - Learn skill for (Last created unit) : Goblin Land Mine
Visibility - Create an initially Enabled visibility modifier for (Player((Integer A))) emitting Visibility across (Playable map area)
Camera - Pan camera for (Player((Integer A))) to (Position of (Last created unit)) over 2.00 seconds
If ((Owner of (Triggering unit)) Equal to Player 6 (Orange)) then do (Pan camera for Player 6 (Orange) to (Position of (Last created unit)) over 2.00 seconds) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 7 (Green)) then do (Pan camera for Player 7 (Green) to (Position of (Last created unit)) over 2.00 seconds) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 8 (Pink)) then do (Pan camera for Player 8 (Pink) to (Position of (Last created unit)) over 2.00 seconds) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 9 (Gray)) then do (Pan camera for Player 9 (Gray) to (Position of (Last created unit)) over 2.00 seconds) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 10 (Light Blue)) then do (Pan camera for Player 10 (Light Blue) to (Position of (Last created unit)) over 2.00 seconds) else do (Do nothing)
Createtimer
Events
Time - Elapsed game time is 10.00 seconds
Conditions
Actions
Countdown Timer - Create a timer window for Timer with title Time Remaining
Countdown Timer - Start Timer as a One-shot timer that will expire in 300.00 seconds
Flagcap
Events
Unit - A unit enters Region_000 <gen>
Conditions
((Entering unit) has an item of type Battle Standard) Equal to True
Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Pause (Picked unit))
Game - Display to (All players) for 20.00 seconds the text: Victory to the Runners!
For each (Integer A) from 1 to 5 , do (Victory (Player((Integer A))) (Show dialogs, Show scores))
For each (Integer B) from 6 to 10 , do (Defeat (Player((Integer B))) with the message: Defeat!)
Timerfinish
Events
Time - Timer expires
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Pause (Picked unit))
Game - Display to (All players) for 20.00 seconds the text: Victory to the defenders!
For each (Integer A) from 1 to 5 , do (Defeat (Player((Integer A))) with the message: Defeat!)
For each (Integer B) from 6 to 10 , do (Victory (Player((Integer B))) (Show dialogs, Show scores))
RunnerDies
Events
Unit - Runner 0004 <gen> Dies
Unit - Runner 0003 <gen> Dies
Unit - Paladin 0007 <gen> Dies
Unit - Paladin 0008 <gen> Dies
Unit - Runner 0005 <gen> Dies
Conditions
Actions
Unit - Move (Dying unit) instantly to (Center of Region_005 <gen>) , facing Default building facing degrees
Hero - Instantly revive (Dying unit) at (Center of Region_005 <gen>) , Show revival graphics
Flagdropped
Events
Unit - A unit owned by Player 1 (Red) . Loses an item
Unit - A unit owned by Player 2 (Blue) . Loses an item
Unit - A unit owned by Player 3 (Teal) . Loses an item
Unit - A unit owned by Player 4 (Purple) . Loses an item
Unit - A unit owned by Player 5 (Yellow) . Loses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Battle Standard
Actions
Wait 3.00 seconds
Item - Hide (Item being manipulated)
Item - Move (Item being manipulated) to (Random point in Region_001 <gen>)
Wait 10.00 seconds
Item - Show (Item being manipulated)
Furthestrunner
Events
Unit - A unit enters Region_002 <gen>
Conditions
(Entering unit) Equal to Runner 0003 <gen>
(Entering unit) Equal to Runner 0004 <gen>
(Entering unit) Equal to Runner 0005 <gen>
(Entering unit) Equal to Paladin 0007 <gen>
(Entering unit) Equal to Paladin 0008 <gen>
Actions
If (Runnerpos Equal to 0) then do (Set VariableSet Runnerpos = "1") else do (Do nothing)
Furthestrunner2
Events
Unit - A unit enters Region_003 <gen>
Conditions
(Entering unit) Equal to Runner 0003 <gen>
(Entering unit) Equal to Runner 0004 <gen>
(Entering unit) Equal to Runner 0005 <gen>
(Entering unit) Equal to Paladin 0007 <gen>
(Entering unit) Equal to Paladin 0008 <gen>
Actions
If (Runnerpos Less than 2) then do (Set VariableSet Runnerpos = "2") else do (Do nothing)
Furthestrunner3
Events
Unit - A unit enters Region_004 <gen>
Conditions
(Entering unit) Equal to Runner 0003 <gen>
(Entering unit) Equal to Runner 0004 <gen>
(Entering unit) Equal to Runner 0005 <gen>
(Entering unit) Equal to Paladin 0007 <gen>
(Entering unit) Equal to Paladin 0008 <gen>
Actions
Set Variable Set Runnerpos = "3"
deselect
Events
Unit - A unit owned by Player 6 (Orange) . Acquires an item
Unit - A unit owned by Player 7 (Green) . Acquires an item
Unit - A unit owned by Player 8 (Pink) . Acquires an item
Unit - A unit owned by Player 9 (Gray) . Acquires an item
Unit - A unit owned by Player 10 (Light Blue) . Acquires an item
Conditions
(Item-type of (Target item of issued order)) Equal to Battle Standard
Actions
Hero - Drop (Item being manipulated) from (Hero manipulating item) .
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.