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
The Push v1b.w3x
Variables
Initialization
Melee Initialization
Set
Left
Left Tele
Left Units
Left Run
Left Win
Left Ships
ShipsLeftMove
Right
Right Tele
Right Units
Right Run
Right Win
Right Ships
ShpsRightMove
Ships Tele's
Ship1
Ship2
Ship3
Ship4
Ship5
Ship6
Ship7
Ship8
Ship9
Ship10
Ship11
Ship12
Ship13
Ship14
War Buffs
Raging War
Leader Board
Show
Team1
Team2
Name
Iteams
Light
Long Ranged
Heavy
Flamethrower
Ship
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
Team1
integer
No
Team2
integer
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 - Set starting resources (for all players)
Set
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Player - Divert 50 % of the Gold income of Player 6 (Orange) to Player 1 (Red)
Player - Divert 50 % of the Gold income of Player 6 (Orange) to Player 3 (Teal)
Player - Divert 50 % of the Gold income of Player 9 (Gray) to Player 2 (Blue)
Player - Divert 50 % of the Gold income of Player 9 (Gray) to Player 4 (Purple)
Player - Turn Gives bounty On for Player 6 (Orange)
Player - Turn Gives bounty On for Player 9 (Gray)
Player - Set Player 1 (Red) . Current lumber to 0
Player - Set Player 2 (Blue) . Current lumber to 0
Player - Set Player 3 (Teal) . Current lumber to 0
Player - Set Player 4 (Purple) . Current lumber to 0
Quest - Create a Required quest titled Updates with the description 1. Names Changable ((name).)3. Leader Board to show kills4. War Buff when a hero is killed5. Boats6. Day force regenerates during day (night = night regen.) , using icon path UI\Minimap\MinimapIconCreepLoc.blp
Left Tele
Events
Unit - A unit enters Left_Tele <gen>
Unit - A unit enters LeftTele2 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Left_R <gen>)
Left Units
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 2 . Light Tank for Player 6 (Orange) at (Center of Left_Units <gen>) facing Default building facing degrees
Unit - Create 1 . Long-Ranged Tank for Player 6 (Orange) at (Center of Left_Units <gen>) facing Default building facing degrees
Left Run
Events
Unit - A unit enters Left_Units <gen>
Conditions
Actions
Unit Group - Order (Units in Left_Units <gen> matching (((Matching unit) is A Hero) Equal to False)) to Attack-Move To . (Center of Right_Units <gen>)
Left Win
Events
Unit - Tank Producer 0002 <gen> Dies
Conditions
Actions
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Game - Victory Player 6 (Orange) ( Show dialogs, Show scores)
Game - Defeat Player 2 (Blue) with the message: Defeat!
Game - Defeat Player 9 (Gray) with the message: Defeat!
Left Ships
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 1 . Ship for Player 6 (Orange) at (Center of Left_Ships <gen>) facing Default building facing degrees
ShipsLeftMove
Events
Unit - A unit enters Left_Ships <gen>
Conditions
Actions
Unit Group - Order (Units in Left_Ships <gen>) to Attack-Move To . (Center of Ship1 <gen>)
Right Tele
Events
Unit - A unit enters Right_Tele <gen>
Unit - A unit enters RightTele2 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Right_R <gen>)
Right Units
Events
Time - Every 30.00 seconds of game time
Conditions
And - All (Conditions) are true
Conditions
(Unit-type of (Matching unit)) Not equal to Necromancer
(Unit-type of (Matching unit)) Not equal to Dark Warlock
Actions
Unit - Create 2 . Light Tank for Player 9 (Gray) at (Center of Right_Units <gen>) facing Default building facing degrees
Unit - Create 1 . Long-Ranged Tank for Player 9 (Gray) at (Center of Right_Units <gen>) facing Default building facing degrees
Right Run
Events
Unit - A unit enters Right_Units <gen>
Conditions
Actions
Unit Group - Order (Units in Right_Units <gen> matching (((Matching unit) is A Hero) Equal to False)) to Attack-Move To . (Center of Left_Units <gen>)
Right Win
Events
Unit - Tank Producer 0000 <gen> Dies
Conditions
Actions
Game - Victory Player 2 (Blue) ( Show dialogs, Show scores)
Game - Victory Player 9 (Gray) ( Show dialogs, Show scores)
Game - Defeat Player 1 (Red) with the message: Defeat!
Game - Defeat Player 6 (Orange) with the message: Defeat!
Right Ships
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 1 . Ship for Player 9 (Gray) at (Center of Right_Ships <gen>) facing Default building facing degrees
ShpsRightMove
Events
Unit - A unit enters Right_Ships <gen>
Conditions
Actions
Unit Group - Order (Units in Right_Ships <gen>) to Attack-Move To . (Center of Ship14 <gen>)
Ship1
Events
Unit - A unit enters Ship1 <gen>
Conditions
Actions
If ((Owner of (Triggering unit)) Equal to Player 6 (Orange)) then do (Move (Triggering unit) instantly to (Center of Ship2 <gen>)) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 9 (Gray)) then do (Order (Units in Ship1 <gen>) to Attack-Move To.(Center of ShipLeftTarget <gen>)) else do (Do nothing)
Ship2
Events
Unit - A unit enters Ship2 <gen>
Conditions
Actions
If ((Owner of (Triggering unit)) Equal to Player 6 (Orange)) then do (Order (Units in Ship2 <gen>) to Attack-Move To.(Center of Ship3 <gen>)) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 9 (Gray)) then do (Move (Triggering unit) instantly to (Center of Ship1 <gen>)) else do (Do nothing)
Ship3
Events
Unit - A unit enters Ship3 <gen>
Conditions
Actions
If ((Owner of (Triggering unit)) Equal to Player 6 (Orange)) then do (Move (Triggering unit) instantly to (Center of Ship4 <gen>)) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 9 (Gray)) then do (Order (Units in Ship3 <gen>) to Attack-Move To.(Center of Ship2 <gen>)) else do (Do nothing)
Ship4
Events
Unit - A unit enters Ship4 <gen>
Conditions
Actions
If ((Owner of (Triggering unit)) Equal to Player 6 (Orange)) then do (Order (Units in Ship4 <gen>) to Attack-Move To.(Center of Ship5 <gen>)) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 9 (Gray)) then do (Move (Triggering unit) instantly to (Center of Ship3 <gen>)) else do (Do nothing)
Ship5
Events
Unit - A unit enters Ship5 <gen>
Conditions
Actions
If ((Owner of (Triggering unit)) Equal to Player 6 (Orange)) then do (Move (Triggering unit) instantly to (Center of Ship6 <gen>)) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 9 (Gray)) then do (Order (Units in Ship5 <gen>) to Attack-Move To.(Center of Ship4 <gen>)) else do (Do nothing)
Ship6
Events
Unit - A unit enters Ship6 <gen>
Conditions
Actions
If ((Owner of (Triggering unit)) Equal to Player 6 (Orange)) then do (Order (Units in Ship6 <gen>) to Attack-Move To.(Center of Ship7 <gen>)) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 9 (Gray)) then do (Move (Triggering unit) instantly to (Center of Ship5 <gen>)) else do (Do nothing)
Ship7
Events
Unit - A unit enters Ship7 <gen>
Conditions
Actions
If ((Owner of (Triggering unit)) Equal to Player 6 (Orange)) then do (Move (Triggering unit) instantly to (Center of Ship8 <gen>)) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 9 (Gray)) then do (Order (Units in Ship7 <gen>) to Attack-Move To.(Center of Ship6 <gen>)) else do (Do nothing)
Ship8
Events
Unit - A unit enters Ship8 <gen>
Conditions
Actions
If ((Owner of (Triggering unit)) Equal to Player 6 (Orange)) then do (Order (Units in Ship8 <gen>) to Attack-Move To.(Center of Ship9 <gen>)) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 9 (Gray)) then do (Move (Triggering unit) instantly to (Center of Ship7 <gen>)) else do (Do nothing)
Ship9
Events
Unit - A unit enters Ship9 <gen>
Conditions
Actions
If ((Owner of (Triggering unit)) Equal to Player 6 (Orange)) then do (Move (Triggering unit) instantly to (Center of Ship10 <gen>)) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 9 (Gray)) then do (Order (Units in Ship9 <gen>) to Attack-Move To.(Center of Ship8 <gen>)) else do (Do nothing)
Ship10
Events
Unit - A unit enters Ship10 <gen>
Conditions
Actions
If ((Owner of (Triggering unit)) Equal to Player 6 (Orange)) then do (Order (Units in Ship10 <gen>) to Attack-Move To.(Center of Ship11 <gen>)) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 9 (Gray)) then do (Move (Triggering unit) instantly to (Center of Ship9 <gen>)) else do (Do nothing)
Ship11
Events
Unit - A unit enters Ship11 <gen>
Conditions
Actions
If ((Owner of (Triggering unit)) Equal to Player 6 (Orange)) then do (Move (Triggering unit) instantly to (Center of Ship12 <gen>)) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 9 (Gray)) then do (Order (Units in Ship11 <gen>) to Attack-Move To.(Center of Ship10 <gen>)) else do (Do nothing)
Ship12
Events
Unit - A unit enters Ship12 <gen>
Conditions
Actions
If ((Owner of (Triggering unit)) Equal to Player 6 (Orange)) then do (Order (Units in Ship12 <gen>) to Attack-Move To.(Center of Ship13 <gen>)) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 9 (Gray)) then do (Move (Triggering unit) instantly to (Center of Ship11 <gen>)) else do (Do nothing)
Ship13
Events
Unit - A unit enters Ship13 <gen>
Conditions
Actions
If ((Owner of (Triggering unit)) Equal to Player 6 (Orange)) then do (Move (Triggering unit) instantly to (Center of Ship14 <gen>)) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 9 (Gray)) then do (Order (Units in Ship13 <gen>) to Attack-Move To.(Center of Ship12 <gen>)) else do (Do nothing)
Ship14
Events
Unit - A unit enters Ship14 <gen>
Conditions
Actions
If ((Owner of (Triggering unit)) Equal to Player 6 (Orange)) then do (Order (Units in Ship14 <gen>) to Attack-Move To.(Center of ShipRightTarget <gen>)) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 9 (Gray)) then do (Move (Triggering unit) instantly to (Center of Ship13 <gen>)) else do (Do nothing)
Raging War
Events
Unit - A unit Dies
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Unit - Add Raging War to (Killing unit)
Wait 7.50 seconds
Unit - Remove Raging War from (Killing unit)
Show
Events
Time - Elapsed game time is 5 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled Kills
Leaderboard - Add Player 1 (Red) to (Last created leaderboard) with label Team 1 and value 0
Leaderboard - Add Player 2 (Blue) to (Last created leaderboard) with label Team 2 and value 0
Leaderboard - Show (Last created leaderboard)
Team1
Events
Unit - A unit Dies
Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Killing unit)) Equal to Player 1 (Red)
(Owner of (Killing unit)) Equal to Player 3 (Teal)
(Owner of (Killing unit)) Equal to Player 6 (Orange)
Actions
Set Variable Set Team1 = (Team1 + 1)
Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to Team1
Team2
Events
Unit - A unit Dies
Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Killing unit)) Equal to Player 2 (Blue)
(Owner of (Killing unit)) Equal to Player 4 (Purple)
(Owner of (Killing unit)) Equal to Player 9 (Gray)
Actions
Set Variable Set Team2 = (Team2 + 1)
Leaderboard - Change the value for Player 2 (Blue) in (Last created leaderboard) to Team2
Name
Events
Player - Player 1 (Red) types a chat message containing . (Unexpected type: 'stringnoformat') as A substring
Player - Player 2 (Blue) types a chat message containing . (Unexpected type: 'stringnoformat') as A substring
Player - Player 3 (Teal) types a chat message containing . (Unexpected type: 'stringnoformat') as A substring
Player - Player 4 (Purple) types a chat message containing . (Unexpected type: 'stringnoformat') as A substring
Player - Player 6 (Orange) types a chat message containing . (Unexpected type: 'stringnoformat') as A substring
Player - Player 9 (Gray) types a chat message containing . (Unexpected type: 'stringnoformat') as A substring
Conditions
Actions
Player - Set name of (Triggering player) to ( + (Substring((Entered chat string), 1, (Length of (Entered chat string)))))
Light
Events
Unit - A unit Uses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Light Tank
Actions
If ((Owner of (Triggering unit)) Equal to Player 1 (Red)) then do (Create 1.Light Tank for Player 6 (Orange) at (Center of Left_Units <gen>) facing Default building facing degrees) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 3 (Teal)) then do (Create 1.Light Tank for Player 6 (Orange) at (Center of Left_Units <gen>) facing Default building facing degrees) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 2 (Blue)) then do (Create 1.Light Tank for Player 9 (Gray) at (Center of Right_Units <gen>) facing Default building facing degrees) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 4 (Purple)) then do (Create 1.Light Tank for Player 9 (Gray) at (Center of Right_Units <gen>) facing Default building facing degrees) else do (Do nothing)
Long Ranged
Events
Unit - A unit Uses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Long Ranged Tank
Actions
If ((Owner of (Triggering unit)) Equal to Player 1 (Red)) then do (Create 1.Long-Ranged Tank for Player 6 (Orange) at (Center of Left_Units <gen>) facing Default building facing degrees) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 3 (Teal)) then do (Create 1.Long-Ranged Tank for Player 6 (Orange) at (Center of Left_Units <gen>) facing Default building facing degrees) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 2 (Blue)) then do (Create 1.Long-Ranged Tank for Player 9 (Gray) at (Center of Right_Units <gen>) facing Default building facing degrees) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 4 (Purple)) then do (Create 1.Long-Ranged Tank for Player 9 (Gray) at (Center of Right_Units <gen>) facing Default building facing degrees) else do (Do nothing)
Heavy
Events
Unit - A unit Uses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Heavy Tank
Actions
If ((Owner of (Triggering unit)) Equal to Player 1 (Red)) then do (Create 1.Heavy Tank for Player 6 (Orange) at (Center of Left_Units <gen>) facing Default building facing degrees) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 3 (Teal)) then do (Create 1.Heavy Tank for Player 6 (Orange) at (Center of Left_Units <gen>) facing Default building facing degrees) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 2 (Blue)) then do (Create 1.Heavy Tank for Player 9 (Gray) at (Center of Right_Units <gen>) facing Default building facing degrees) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 4 (Purple)) then do (Create 1.Heavy Tank for Player 9 (Gray) at (Center of Right_Units <gen>) facing Default building facing degrees) else do (Do nothing)
Flamethrower
Events
Unit - A unit Uses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Flamthrower Tank
Actions
If ((Owner of (Triggering unit)) Equal to Player 1 (Red)) then do (Create 1.Flamethrower Tank for Player 6 (Orange) at (Center of Left_Units <gen>) facing Default building facing degrees) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 3 (Teal)) then do (Create 1.Flamethrower Tank for Player 6 (Orange) at (Center of Left_Units <gen>) facing Default building facing degrees) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 2 (Blue)) then do (Create 1.Flamethrower Tank for Player 9 (Gray) at (Center of Right_Units <gen>) facing Default building facing degrees) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 4 (Purple)) then do (Create 1.Flamethrower Tank for Player 9 (Gray) at (Center of Right_Units <gen>) facing Default building facing degrees) else do (Do nothing)
Ship
Events
Unit - A unit Uses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Ship
Actions
If ((Owner of (Triggering unit)) Equal to Player 1 (Red)) then do (Create 1.Ship for Player 6 (Orange) at (Center of Left_Ships <gen>) facing Default building facing degrees) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 3 (Teal)) then do (Create 1.Ship for Player 6 (Orange) at (Center of Left_Ships <gen>) facing Default building facing degrees) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 2 (Blue)) then do (Create 1.Ship for Player 9 (Gray) at (Center of Right_Ships <gen>) facing Default building facing degrees) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 4 (Purple)) then do (Create 1.Ship for Player 9 (Gray) at (Center of Right_Ships <gen>) facing Default building facing degrees) else do (Do nothing)
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.