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
Energy Fusion.w3x
Variables
Gold
Adding
Increasing Increments
Pathing Buildings
North 1
North 2
Unit Order Team 1
Unit Order Team 2
Auto Custom Value
South 1
South 2
Pathing Regions
North
N1T1
N2T1
N3T1
NCT12
N3T2
N2T2
N1T2
South
S1T1
S2T1
S2T2
S1T2
Auto Train
Auto Train
Energy Fusion
Defusion
Combining
Lose Control
Defeat/Victory
Team 1 Victory
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
Gold_Income
integer
Yes
1
Adding
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Add Gold_Income[(Player number of (Owner of (Picked unit)))] to (Picked player).Current gold)
Increasing Increments
Events
Unit - A unit Finishes construction
Conditions
(Unit-type of (Constructed structure)) Equal to Power Plant
Actions
Set Variable Set Gold_Income[(Player number of (Owner of (Constructed structure)))] = (Gold_Income[(Player number of (Owner of (Constructed structure)))] + 1)
North 1
Events
Unit - A unit Is issued an order with no target
Conditions
(Issued order) Equal to (Order(roar))
((Owner of (Ordered unit)) is an ally of Player 1 (Red).) Equal to True
Actions
Unit - Set the custom value of (Ordered unit) to 1
North 2
Events
Unit - A unit Is issued an order with no target
Conditions
(Issued order) Equal to (Order(roar))
((Owner of (Ordered unit)) is an ally of Player 6 (Orange).) Equal to True
Actions
Unit - Set the custom value of (Ordered unit) to 3
Unit Order Team 1
Events
Unit - A unit Finishes training a unit
Conditions
((Trained unit) belongs to an ally of Player 1 (Red).) Equal to True
(Unit-type of (Trained unit)) Not equal to Energy Ball (1)
Actions
Unit - Change ownership of (Trained unit) to Player 11 (Dark Green) and Change color
If ((Custom value of (Triggering unit)) Equal to 0) then do (Order (Trained unit) to Stop.) else do (Do nothing)
If ((Custom value of (Triggering unit)) Equal to 1) then do (Order (Trained unit) to Move To.(Center of North_1_Team_1 <gen>)) else do (Do nothing)
If ((Custom value of (Triggering unit)) Equal to 2) then do (Order (Trained unit) to Move To.(Center of South_1_Team_1 <gen>)) else do (Do nothing)
Unit Order Team 2
Events
Unit - A unit Finishes training a unit
Conditions
((Trained unit) belongs to an ally of Player 6 (Orange).) Equal to True
(Unit-type of (Trained unit)) Not equal to Energy Ball (1)
Actions
Unit - Change ownership of (Trained unit) to Player 12 (Brown) and Change color
If ((Custom value of (Triggering unit)) Equal to 0) then do (Order (Trained unit) to Stop.) else do (Do nothing)
If ((Custom value of (Triggering unit)) Equal to 3) then do (Order (Trained unit) to Move To.(Center of North_1_Team_2 <gen>)) else do (Do nothing)
If ((Custom value of (Triggering unit)) Equal to 4) then do (Order (Trained unit) to Move To.(Center of South_1_Team_2 <gen>)) else do (Do nothing)
Auto Custom Value
Events
Unit - A unit Finishes construction
Conditions
Actions
Unit - Set the custom value of (Constructed structure) to 0
South 1
Events
Unit - A unit Is issued an order with no target
Conditions
((Owner of (Ordered unit)) is an ally of Player 1 (Red).) Equal to True
(Issued order) Equal to (Order(tranquility))
Actions
Unit - Set the custom value of (Ordered unit) to 2
South 2
Events
Unit - A unit Is issued an order with no target
Conditions
((Owner of (Ordered unit)) is an ally of Player 6 (Orange).) Equal to True
(Issued order) Equal to (Order(tranquility))
Actions
Unit - Set the custom value of (Ordered unit) to 4
N1T1
Events
Unit - A unit enters North_1_Team_1 <gen>
Conditions
Actions
If ((Owner of (Entering unit)) Equal to Player 11 (Dark Green)) then do (Order (Entering unit) to Attack-Move To.(Center of North_2_Team_1 <gen>)) else do (Do nothing)
If ((Owner of (Entering unit)) Equal to Player 12 (Brown)) then do (Order (Entering unit) to Attack-Move To.(Center of (Region centered at (Position of Settlement 0188 <gen>) with size (256.00, 256.00)))) else do (Do nothing)
N2T1
Events
Unit - A unit enters North_2_Team_1 <gen>
Conditions
Actions
If ((Owner of (Entering unit)) Equal to Player 11 (Dark Green)) then do (Order (Entering unit) to Attack-Move To.(Center of North_3_Team_1 <gen>)) else do (Do nothing)
If ((Owner of (Entering unit)) Equal to Player 12 (Brown)) then do (Order (Entering unit) to Attack-Move To.(Center of North_1_Team_1 <gen>)) else do (Do nothing)
N3T1
Events
Unit - A unit enters North_3_Team_1 <gen>
Conditions
Actions
If ((Owner of (Entering unit)) Equal to Player 11 (Dark Green)) then do (Order (Entering unit) to Attack-Move To.(Center of North_Center <gen>)) else do (Do nothing)
If ((Owner of (Entering unit)) Equal to Player 12 (Brown)) then do (Order (Entering unit) to Attack-Move To.(Center of North_2_Team_1 <gen>)) else do (Do nothing)
North Center Teams 1 and 2
NCT12
Events
Unit - A unit enters North_Center <gen>
Conditions
Actions
If ((Owner of (Entering unit)) Equal to Player 11 (Dark Green)) then do (Order (Entering unit) to Attack-Move To.(Center of North_3_Team_2 <gen>)) else do (Do nothing)
If ((Owner of (Entering unit)) Equal to Player 12 (Brown)) then do (Order (Entering unit) to Attack-Move To.(Center of North_3_Team_1 <gen>)) else do (Do nothing)
N3T2
Events
Unit - A unit enters North_3_Team_2 <gen>
Conditions
Actions
If ((Owner of (Entering unit)) Equal to Player 11 (Dark Green)) then do (Order (Entering unit) to Attack-Move To.(Center of North_2_Team_2 <gen>)) else do (Do nothing)
If ((Owner of (Entering unit)) Equal to Player 12 (Brown)) then do (Order (Entering unit) to Attack-Move To.(Center of North_Center <gen>)) else do (Do nothing)
N2T2
Events
Unit - A unit enters North_2_Team_2 <gen>
Conditions
Actions
If ((Owner of (Entering unit)) Equal to Player 11 (Dark Green)) then do (Order (Entering unit) to Attack-Move To.(Center of North_1_Team_2 <gen>)) else do (Do nothing)
If ((Owner of (Entering unit)) Equal to Player 12 (Brown)) then do (Order (Entering unit) to Attack-Move To.(Center of North_3_Team_2 <gen>)) else do (Do nothing)
N1T2
Events
Unit - A unit enters North_1_Team_2 <gen>
Conditions
Actions
If ((Owner of (Entering unit)) Equal to Player 11 (Dark Green)) then do (Order (Entering unit) to Attack-Move To.(Center of (Region centered at (Position of Settlement 0220 <gen>) with size (256.00, 256.00)))) else do (Do nothing)
If ((Owner of (Entering unit)) Equal to Player 12 (Brown)) then do (Order (Entering unit) to Attack-Move To.(Center of North_2_Team_2 <gen>)) else do (Do nothing)
S1T1
Events
Unit - A unit enters South_1_Team_1 <gen>
Conditions
Actions
If ((Owner of (Entering unit)) Equal to Player 11 (Dark Green)) then do (Order (Entering unit) to Attack-Move To.(Center of South_2_Team_1 <gen>)) else do (Do nothing)
If ((Owner of (Entering unit)) Equal to Player 12 (Brown)) then do (Order (Entering unit) to Attack-Move To.(Center of (Region centered at (Position of Settlement 0188 <gen>) with size (256.00, 256.00)))) else do (Do nothing)
S2T1
Events
Unit - A unit enters South_2_Team_1 <gen>
Conditions
Actions
If ((Owner of (Entering unit)) Equal to Player 11 (Dark Green)) then do (Order (Entering unit) to Attack-Move To.(Center of South_2_Team_2 <gen>)) else do (Do nothing)
If ((Owner of (Entering unit)) Equal to Player 12 (Brown)) then do (Order (Entering unit) to Attack-Move To.(Center of South_1_Team_1 <gen>)) else do (Do nothing)
S2T2
Events
Unit - A unit enters South_2_Team_2 <gen>
Conditions
Actions
If ((Owner of (Entering unit)) Equal to Player 11 (Dark Green)) then do (Order (Entering unit) to Attack-Move To.(Center of South_1_Team_2 <gen>)) else do (Do nothing)
If ((Owner of (Entering unit)) Equal to Player 12 (Brown)) then do (Order (Entering unit) to Attack-Move To.(Center of South_2_Team_1 <gen>)) else do (Do nothing)
S1T2
Events
Unit - A unit enters South_1_Team_2 <gen>
Conditions
Actions
If ((Owner of (Entering unit)) Equal to Player 11 (Dark Green)) then do (Order (Entering unit) to Attack-Move To.(Center of (Region centered at (Position of Settlement 0220 <gen>) with size (256.00, 256.00)))) else do (Do nothing)
If ((Owner of (Entering unit)) Equal to Player 12 (Brown)) then do (Order (Entering unit) to Attack-Move To.(Center of South_2_Team_2 <gen>)) else do (Do nothing)
Auto Train
Events
Time - Every 2.50 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units of type Magician's Guild) and do (Order (Picked unit) to train/upgrade to a Wizard (Level - 1 Magic))
Unit Group - Pick every unit in (Units of type Warlock's Guild) and do (Order (Picked unit) to train/upgrade to a Warlock (Level - 2 Magic))
Defusion
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Defuse
Actions
If ((Unit-type of (Casting unit)) Equal to Energy Ball (3)) then do (Create 1.Energy Ball (1) for (Owner of (Casting unit)) at (Center of (Region centered at (Position of (Casting unit)) with size (32.00, 32.00))) facing Default building facing degrees) else do (Do nothing)
Combining
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Brain Control (1)
(Ability being cast) Equal to Brain Control (2)
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Casting unit)) is an ally of Player 11 (Dark Green).) Equal to True
Then - Actions
If ((Owner of (Target unit of ability being cast)) Not equal to Player 11 (Dark Green)) then do (Order (Casting unit) to Stop.) else do (Do nothing)
Else - Actions
If ((Owner of (Target unit of ability being cast)) Not equal to Player 12 (Brown)) then do (Order (Casting unit) to Stop.) else do (Do nothing)
Lose Control
Events
Unit - A unit Begins casting an ability
Conditions
Actions
Team 1 Victory
Events
Unit - Settlement 0220 <gen> Dies
Conditions
Actions
Game - Display to (All players) the text: Force 1 has won!
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Pause (Picked unit))
Game - Display to (All allies of Player 6 (Orange).) the text: The map will be revealed for 30 seconds until you are Defeated.
Game - Display to (All allies of Player 1 (Red).) the text: The map will be revealed for 30 seconds until you are Victorious.
Wait 30.00 seconds
Player Group - Pick every player in (All allies of Player 1 (Red).) and do (Victory (Picked player) (Show dialogs, Show scores))
Player Group - Pick every player in (All allies of Player 6 (Orange).) and do (Defeat (Picked player) with the message: Defeat!)
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.