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
Army wars.w3x
Variables
Initialization
Melee Initialization
Losing Red
Losing Blue
Losing Teal
Losing Purple
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
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players) and do (Set (Picked player).Current gold to 30)
If ((Player 1 (Red) controller) Equal to User) then do (Create 1.Barracks for Player 1 (Red) at (Player 1 (Red) start location) facing Default building facing degrees) else do (Do nothing)
If ((Player 2 (Blue) controller) Equal to User) then do (Create 1.Barracks for Player 2 (Blue) at (Player 2 (Blue) start location) facing Default building facing degrees) else do (Do nothing)
If ((Player 3 (Teal) controller) Equal to User) then do (Create 1.Barracks for Player 3 (Teal) at (Player 3 (Teal) start location) facing Default building facing degrees) else do (Do nothing)
If ((Player 4 (Purple) controller) Equal to User) then do (Create 1.Barracks for Player 4 (Purple) at (Player 4 (Purple) start location) facing Default building facing degrees) else do (Do nothing)
Losing Red
Events
Unit - A unit owned by Player 1 (Red) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Barracks
Actions
Game - Defeat Player 1 (Red) with the message: Defeat!
Losing Blue
Events
Unit - A unit owned by Player 2 (Blue) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Barracks
Actions
Game - Defeat Player 2 (Blue) with the message: Defeat!
Losing Teal
Events
Unit - A unit owned by Player 3 (Teal) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Barracks
Actions
Game - Defeat Player 3 (Teal) with the message: Defeat!
Losing Purple
Events
Unit - A unit owned by Player 4 (Purple) . Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Barracks
Actions
Game - Defeat Player 4 (Purple) 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.