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
leaderboard.w3x
Variables
Start hero
Gold
leaderboard
make leaderboard
add point
Win
Untitled Trigger 001
Untitled Trigger 002
unit spawn
t1
Untitled Trigger 004
Untitled Trigger 005
Untitled Trigger 006
Untitled Trigger 006 Copy
Untitled Trigger 007
Untitled Trigger 004 Copy Copy 6
Untitled Trigger 006 Copy 2
unit spawn down
t1 dwn
unit spawn2
t2
Untitled Trigger 004 Copy
Untitled Trigger 004 Copy Copy
Untitled Trigger 004 Copy Copy 2
Untitled Trigger 004 Copy Copy 3
Untitled Trigger 004 Copy Copy 4
Untitled Trigger 004 Copy Copy 5
unit spawn2 down
t2 dwn
Start money
Start money
money ewery 10sec
Basic revive
team 1
team 2
change station
neu
Team1
Team2
Get destroyed and stop
Untitled Trigger 009
Bounty
Bounty
Bounty hero
extra
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
groop
item
No
Player_Kills
integer
Yes
sound
sound
No
Default melee game initialization for all players
Gold
Events
Map initialization
Conditions
Actions
If ((Player 1 (Red) slot status) Equal to Is playing) then do (Create 1.War Robot for Player 1 (Red) at (Center of Revive1 <gen>) facing Default building facing degrees) else do (Do nothing)
If ((Player 2 (Blue) slot status) Equal to Is playing) then do (Create 1.War Robot for Player 2 (Blue) at (Center of Revive1 <gen>) facing Default building facing degrees) else do (Do nothing)
If ((Player 3 (Teal) slot status) Equal to Is playing) then do (Create 1.War Robot for Player 3 (Teal) at (Center of Revive1 <gen>) facing Default building facing degrees) else do (Do nothing)
If ((Player 4 (Purple) slot status) Equal to Is playing) then do (Create 1.War Robot for Player 4 (Purple) at (Center of Revive1 <gen>) facing Default building facing degrees) else do (Do nothing)
If ((Player 5 (Yellow) slot status) Equal to Is playing) then do (Create 1.War Robot for Player 5 (Yellow) at (Center of Revive1 <gen>) facing Default building facing degrees) else do (Do nothing)
If ((Player 6 (Orange) slot status) Equal to Is playing) then do (Create 1.War Robot for Player 6 (Orange) at (Center of revive2 <gen>) facing Default building facing degrees) else do (Do nothing)
If ((Player 7 (Green) slot status) Equal to Is playing) then do (Create 1.War Robot for Player 7 (Green) at (Center of revive2 <gen>) facing Default building facing degrees) else do (Do nothing)
If ((Player 8 (Pink) slot status) Equal to Is playing) then do (Create 1.War Robot for Player 8 (Pink) at (Center of revive2 <gen>) facing Default building facing degrees) else do (Do nothing)
If ((Player 9 (Gray) slot status) Equal to Is playing) then do (Create 1.War Robot for Player 9 (Gray) at (Center of revive2 <gen>) facing Default building facing degrees) else do (Do nothing)
If ((Player 10 (Light Blue) slot status) Equal to Is playing) then do (Create 1.War Robot for Player 10 (Light Blue) at (Center of revive2 <gen>) facing Default building facing degrees) else do (Do nothing)
Player - Set (Picked player) . Current gold to 1000
make leaderboard
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled kills
Custom script: set bj_wantDestroyGroup=true
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked player) controller) Equal to User
((Picked player) slot status) Equal to Is playing
Then - Actions
Leaderboard - Add (Picked player) to (Last created leaderboard) with label (Name of (Picked player)) and value 0
Else - Actions
Do nothing
Leaderboard - Show (Last created leaderboard)
add point
Events
Unit - A unit Dies
Conditions
((Killing unit) belongs to an ally of Player 1 (Red).) Equal to True
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)))]
Untitled Trigger 001
Events
Unit - Castle 0019 <gen> Dies
Conditions
Actions
Game - Victory Player 6 (Orange) ( Show dialogs, Show scores)
Untitled Trigger 002
Events
Unit - Castle 0008 <gen> Dies
Conditions
Actions
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
t1
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 6 . Footman for Player 11 (Dark Green) at (Center of fack1 <gen>) facing Default building facing degrees
Unit Group - Order (Units in fack1 <gen>) to Attack-Move To . (Center of Region_003 <gen>)
Untitled Trigger 004
Events
Unit - A unit enters Region_003 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 11 (Dark Green)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Region_006 <gen>)
Untitled Trigger 005
Events
Unit - A unit enters Region_006 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 11 (Dark Green)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Region_012 <gen>)
Untitled Trigger 006
Events
Unit - A unit enters Region_012 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 11 (Dark Green)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Region_015 <gen>)
Untitled Trigger 006 Copy
Events
Unit - A unit enters Region_015 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 11 (Dark Green)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Region_018 <gen>)
Untitled Trigger 007
Events
Unit - A unit enters Region_018 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 11 (Dark Green)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Region_021 <gen>)
Untitled Trigger 004 Copy Copy 6
Events
Unit - A unit enters Region_021 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 11 (Dark Green)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Region_024 <gen>)
Untitled Trigger 006 Copy 2
Events
Unit - A unit enters Region_024 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 11 (Dark Green)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of end_t1 <gen>)
t1 dwn
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 6 . Footman for Player 11 (Dark Green) at (Center of fack_dw1 <gen>) facing Default building facing degrees
Unit Group - Order (Units in fack_dw1 <gen>) to Attack-Move To . (Center of Fack_dw2 <gen>)
t2
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 6 . Footmanen for Player 12 (Brown) at (Center of Fac2 <gen>) facing Default building facing degrees
Unit Group - Order (Units in Fac2 <gen>) to Attack-Move To . (Center of Region_024 <gen>)
Untitled Trigger 004 Copy
Events
Unit - A unit enters Region_024 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Region_021 <gen>)
Untitled Trigger 004 Copy Copy
Events
Unit - A unit enters Region_021 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Region_018 <gen>)
Untitled Trigger 004 Copy Copy 2
Events
Unit - A unit enters Region_018 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Region_015 <gen>)
Untitled Trigger 004 Copy Copy 3
Events
Unit - A unit enters Region_015 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Region_012 <gen>)
Untitled Trigger 004 Copy Copy 4
Events
Unit - A unit enters Region_012 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Region_003 <gen>)
Untitled Trigger 004 Copy Copy 5
Events
Unit - A unit enters Region_003 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of end_t2 <gen>)
t2 dwn
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 6 . Footmanen for Player 12 (Brown) at (Center of Fack_dw2 <gen>) facing Default building facing degrees
Unit Group - Order (Units in Fack_dw2 <gen>) to Attack-Move To . (Center of fack_dw1 <gen>)
Start money
Events
Map initialization
Conditions
Actions
Player - Set Player 1 (Red) . Current gold to 5000
Player - Set Player 2 (Blue) . Current gold to 5000
Player - Set Player 3 (Teal) . Current gold to 5000
Player - Set Player 4 (Purple) . Current gold to 5000
Player - Set Player 5 (Yellow) . Current gold to 5000
Player - Set Player 6 (Orange) . Current gold to 5000
Player - Set Player 7 (Green) . Current gold to 5000
Player - Set Player 8 (Pink) . Current gold to 5000
Player - Set Player 9 (Gray) . Current gold to 5000
Player - Set Player 10 (Light Blue) . Current gold to 5000
money ewery 10sec
Events
Time - Elapsed game time is 3.00 seconds
Conditions
Actions
Player - Set (Random player from (All players matching (((Matching player) slot status) Equal to Is playing).)) . Total gold gathered to 1
team 1
Events
Unit - A unit owned by Player 1 (Red) . Dies
Unit - A unit owned by Player 2 (Blue) . Dies
Unit - A unit owned by Player 3 (Teal) . Dies
Unit - A unit owned by Player 4 (Purple) . Dies
Unit - A unit owned by Player 5 (Yellow) . Dies
Conditions
((Dying unit) is A Hero) Equal to True
((Owner of (Dying unit)) slot status) Equal to Is playing
Actions
Wait 10.00 game-time seconds
Hero - Instantly revive (Dying unit) at (Center of Revive1 <gen>) , Hide revival graphics
Camera - . Apply . gg_cam_Camera_001 for (Owner of (Reviving Hero)) over 0 seconds
team 2
Events
Unit - A unit owned by Player 6 (Orange) . Dies
Unit - A unit owned by Player 7 (Green) . Dies
Unit - A unit owned by Player 8 (Pink) . Dies
Unit - A unit owned by Player 9 (Gray) . Dies
Unit - A unit owned by Player 10 (Light Blue) . Dies
Conditions
((Dying unit) is A Hero) Equal to True
((Owner of (Dying unit)) slot status) Equal to Is playing
Actions
Wait 10.00 game-time seconds
Hero - Instantly revive (Dying unit) at (Center of revive2 <gen>) , Show revival graphics
Camera - . Apply . gg_cam_Camera_002 for (Owner of (Reviving Hero)) over 0 seconds
neu
Events
Unit - A unit enters Region_008 <gen>
Conditions
Actions
If (((Entering unit) belongs to an ally of Player 1 (Red).) Equal to True) then do (Run Team1 <gen> (ignoring conditions)) else do (If (((Entering unit) belongs to an ally of Player 6 (Orange).) Equal to True) then do (Run Team2 <gen> (ignoring conditions)) else do (Do nothing))
Team1
Events
Unit - A unit enters Region_008 <gen>
Conditions
((Entering unit) is A Hero) Equal to True
Actions
Wait 10.00 game-time seconds
If (((Entering unit) is A Hero) Equal to True) then do (Change ownership of Barracks 0050 <gen> to (Random player from (All allies of Player 1 (Red).)) and Change color) else do (Do nothing)
Unit - Change ownership of Barracks 0050 <gen> to (Owner of (Entering unit)) and Change color
Special Effect - Create a special effect attached to the chest (Unexpected type: 'attachpoint') of Barracks 0050 <gen> using Abilities\Spells\Undead\Cripple\CrippleTarget.mdl
Wait 2 game-time seconds
Special Effect - Destroy (Last created special effect)
Trigger - Turn off (This trigger)
Team2
Events
Unit - A unit enters Region_008 <gen>
Conditions
((Entering unit) is A Hero) Equal to True
Actions
Wait 10.00 game-time seconds
If (((Entering unit) is A Hero) Equal to True) then do (Change ownership of Barracks 0050 <gen> to (Random player from (All allies of Player 1 (Red).)) and Change color) else do (Do nothing)
Unit - Change ownership of Barracks 0050 <gen> to (Owner of (Entering unit)) and Change color
Special Effect - Create a special effect attached to the chest (Unexpected type: 'attachpoint') of Barracks 0050 <gen> using Abilities\Spells\Undead\Cripple\CrippleTarget.mdl
Wait 2 game-time seconds
Special Effect - Destroy (Last created special effect)
Trigger - Turn off (This trigger)
Untitled Trigger 009
Events
Time - Every 0.10 seconds of game time
Conditions
Actions
If ((Owner of Unit factory 0039 <gen>) Equal to Player 11 (Dark Green)) then do (Do nothing) else do (Turn off t1 <gen>)
If ((Owner of Unit factory 0063 <gen>) Equal to Player 11 (Dark Green)) then do (Do nothing) else do (Turn off t1_dwn <gen>)
If ((Owner of Unit factory 0042 <gen>) Equal to Player 12 (Brown)) then do (Do nothing) else do (Turn off t2 <gen>)
If ((Owner of Unit factory 0041 <gen>) Equal to Player 12 (Brown)) then do (Do nothing) else do (Turn off t2_dwn <gen>)
Bounty
Events
Unit - A unit Dies
Conditions
(Owner of (Dying unit)) Equal to Player 11 (Dark Green)
(Owner of (Dying unit)) Equal to Player 12 (Brown)
Actions
Hero - Create Gold Coins and give it to (Killing unit)
Bounty hero
Events
Unit - A unit Dies
Conditions
(Owner of (Dying unit)) Equal to Player 11 (Dark Green)
(Owner of (Dying unit)) Equal to Player 12 (Brown)
Actions
If (((Dying unit) is A Hero) Equal to True) then do (Create Gold Coins hero and give it to (Killing unit)) 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.