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
2p melee tirisfalglades_lv.w3x
Variables
Initialization
Melee Initialization
t0
t05
t1
t2
foodlimit1
foodlimit2
foodset1
foodset2
goldset1
goldset11
goldset2
goldset22
lumberset1
lumberset11
lumberset2
lumberset22
firstbuild1
firstbuild2
changeowner1
changeowner11
changeowner111
changeowner2
changeowner22
changeowner222
tech1
tech2
hero
hero 2
Name
Type
is_array
initial_value
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Create starting units (for all players)
Melee Game - Use melee time of day (for all players)
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Melee Game - Set starting resources (for all players)
Melee Game - Run melee AI scripts (for computer players)
Melee Game - Enforce victory/defeat conditions (for all players)
t0
Events
Time - Elapsed game time is 0.03 seconds
Conditions
Actions
Sound - Play Hint <gen> at 100 % volume, skipping the first 0 seconds
Game - Set Lock resource trading to On
Game - Display to (All players) the text: Welcome!!
Game - Display to (All players) the text: (((Name of Player 1 (Red)) + and ) + ((Name of Player 2 (Blue)) + are in charge of construction and production.))
Game - Display to (All players) the text: (((Name of Player 3 (Teal)) + and ) + ((Name of Player 4 (Purple)) + are in charge of combat.))
Unit Group - Pick every unit in (Units owned by Player 3 (Teal).) and do (Remove (Picked unit) from the game)
Unit Group - Pick every unit in (Units owned by Player 4 (Purple).) and do (Remove (Picked unit) from the game)
t05
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Actions
Game - Display to (All players) the text: The first three buildings to be built will be completed in instant.
t1
Events
Time - Elapsed game time is 10.00 seconds
Conditions
Actions
Sound - Play Hint <gen> at 100 % volume, skipping the first 0 seconds
Game - Display to (All players) the text: ((The combat units produced by + (Name of Player 1 (Red))) + ( and + ((Name of Player 2 (Blue)) + ( are going to owned by + ((Name of Player 3 (Teal)) + ( and + (Name of Player 4 (Purple))))))))
t2
Events
Time - Elapsed game time is 20.00 seconds
Conditions
Actions
Sound - Play Hint <gen> at 100 % volume, skipping the first 0 seconds
Game - Display to (All players) the text: The resources are shared.
foodlimit1
Events
Player - Player 1 (Red) 's Food cap becomes Greater than or equal to 0.00
Conditions
Actions
Player - Set Player 3 (Teal) . Food cap to (Player 1 (Red) Food cap)
foodlimit2
Events
Player - Player 2 (Blue) 's Food cap becomes Greater than or equal to 0.00
Conditions
Actions
Player - Set Player 4 (Purple) . Food cap to (Player 2 (Blue) Food cap)
foodset1
Events
Unit - A unit Dies
Conditions
(Owner of (Triggering unit)) Equal to Player 3 (Teal)
Actions
Player - Add (-1 x (Supply used by (Triggering unit))) to Player 1 (Red) . Food used
foodset2
Events
Unit - A unit Dies
Conditions
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
Actions
Player - Add (-1 x (Supply used by (Triggering unit))) to Player 2 (Blue) . Food used
goldset1
Events
Player - Player 1 (Red) 's Current gold becomes Greater than or equal to 0.00
Conditions
Actions
Player - Set Player 3 (Teal) . Current gold to (Player 1 (Red) Current gold)
goldset11
Events
Player - Player 3 (Teal) 's Current gold becomes Greater than or equal to 0.00
Conditions
Actions
Player - Set Player 1 (Red) . Current gold to (Player 3 (Teal) Current gold)
goldset2
Events
Player - Player 2 (Blue) 's Current gold becomes Greater than or equal to 0.00
Conditions
Actions
Player - Set Player 4 (Purple) . Current gold to (Player 2 (Blue) Current gold)
goldset22
Events
Player - Player 4 (Purple) 's Current gold becomes Greater than or equal to 0.00
Conditions
Actions
Player - Set Player 2 (Blue) . Current gold to (Player 4 (Purple) Current gold)
lumberset1
Events
Player - Player 1 (Red) 's Current lumber becomes Greater than or equal to 0.00
Conditions
Actions
Player - Set Player 3 (Teal) . Current lumber to (Player 1 (Red) Current gold)
lumberset11
Events
Player - Player 3 (Teal) 's Current lumber becomes Greater than or equal to 0.00
Conditions
Actions
Player - Set Player 1 (Red) . Current lumber to (Player 3 (Teal) Current gold)
lumberset2
Events
Player - Player 2 (Blue) 's Current lumber becomes Greater than or equal to 0.00
Conditions
Actions
Player - Set Player 4 (Purple) . Current lumber to (Player 2 (Blue) Current gold)
lumberset22
Events
Player - Player 4 (Purple) 's Current lumber becomes Greater than or equal to 0.00
Conditions
Actions
Player - Set Player 2 (Blue) . Current lumber to (Player 4 (Purple) Current gold)
firstbuild1
Events
Unit - A unit Begins construction
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
(Execution count of (This trigger)) Less than 3
Actions
Wait 0.10 seconds
Unit - Set (Constructing structure) construction progress to 50 %
firstbuild2
Events
Unit - A unit Begins construction
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
(Execution count of (This trigger)) Less than 3
Actions
Wait 0.10 seconds
Unit - Set (Constructing structure) construction progress to 50 %
changeowner1
Events
Unit - A unit Finishes training a unit
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Or - Any (Conditions) are true
Conditions
((Trained unit) is A peon-type unit) Equal to False
(Unit-type of (Trained unit)) Equal to Ghoul
Actions
Unit - Change ownership of (Trained unit) to Player 3 (Teal) and Change color
Player - Add (Supply used by (Trained unit)) to Player 1 (Red) . Food used
Game - Display to Player Group - Player 3 (Teal) the text: ((Name of (Trained unit)) + train has been completed.)
Cinematic - Ping minimap for Player Group - Player 3 (Teal) at (Position of (Trained unit)) for 1 seconds
changeowner11
Events
Unit - A unit Finishes reviving
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Change ownership of (Reviving Hero) to Player 3 (Teal) and Change color
Player - Add (Supply used by (Reviving Hero)) to Player 1 (Red) . Food used
Game - Display to Player Group - Player 2 (Blue) the text: ((Name of (Trained unit)) + revive has been completed.)
Cinematic - Ping minimap for Player Group - Player 2 (Blue) at (Position of (Trained unit)) for 1 seconds
changeowner111
Events
Unit - A unit Sells a unit
Conditions
(Owner of (Sold unit)) Equal to Player 1 (Red)
Actions
Unit - Change ownership of (Sold unit) to Player 3 (Teal) and Change color
Player - Add (Supply used by (Sold unit)) to Player 1 (Red) . Food used
Game - Display to Player Group - Player 3 (Teal) the text: ((Name of (Sold unit)) + train has been completed.)
Cinematic - Ping minimap for Player Group - Player 3 (Teal) at (Position of (Sold unit)) for 1 seconds
changeowner2
Events
Unit - A unit Finishes training a unit
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Or - Any (Conditions) are true
Conditions
((Trained unit) is A peon-type unit) Equal to False
(Unit-type of (Trained unit)) Equal to Ghoul
Actions
Unit - Change ownership of (Trained unit) to Player 4 (Purple) and Change color
Player - Add (Supply used by (Trained unit)) to Player 2 (Blue) . Food used
Game - Display to Player Group - Player 4 (Purple) the text: ((Name of (Trained unit)) + train has been completed.)
Cinematic - Ping minimap for Player Group - Player 4 (Purple) at (Position of (Trained unit)) for 1 seconds
changeowner22
Events
Unit - A unit Finishes reviving
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Change ownership of (Reviving Hero) to Player 4 (Purple) and Change color
Player - Add (Supply used by (Reviving Hero)) to Player 2 (Blue) . Food used
Game - Display to Player Group - Player 4 (Purple) the text: ((Name of (Trained unit)) + revive has been completed.)
Cinematic - Ping minimap for Player Group - Player 4 (Purple) at (Position of (Trained unit)) for 1 seconds
changeowner222
Events
Unit - A unit Sells a unit
Conditions
(Owner of (Sold unit)) Equal to Player 2 (Blue)
Actions
Unit - Change ownership of (Sold unit) to Player 4 (Purple) and Change color
Player - Add (Supply used by (Sold unit)) to Player 2 (Blue) . Food used
Game - Display to Player Group - Player 4 (Purple) the text: ((Name of (Sold unit)) + train has been completed.)
Cinematic - Ping minimap for Player Group - Player 4 (Purple) at (Position of (Sold unit)) for 1 seconds
tech1
Events
Unit - A unit Finishes research
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Player - Set the current research level of (Researched tech-type) to (Current research level of (Researched tech-type) for Player 1 (Red)) for Player 3 (Teal)
tech2
Events
Unit - A unit Finishes research
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Player - Set the current research level of (Researched tech-type) to (Current research level of (Researched tech-type) for Player 2 (Blue)) for Player 4 (Purple)
hero
Events
Unit - A unit owned by Player 3 (Teal) . Dies
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Unit - Change ownership of (Triggering unit) to Player 1 (Red) and Retain color
hero 2
Events
Unit - A unit owned by Player 4 (Purple) . Dies
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Unit - Change ownership of (Triggering unit) to Player 2 (Blue) and Retain color
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.