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
Desert Combat.w3x
Variables
Initialization
Camera
Melee Initialization
Farm
Untitled Category
Untitled Trigger 002
Untitled Trigger 001
Lookout tower
Farm grow
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
Camera
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Camera - Pan camera for Player 1 (Red) to (Target of current camera view) with height 50.00 above the terrain over 1.00 seconds
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Player - Set Player 1 (Red) . Current gold to 750
Farm
Events
Unit - A unit Begins construction
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Terrain type at (Position of (Constructing structure))) Not equal to Sunken Ruins - Grassy Dirt
(Unit-type of (Constructing structure)) Equal to Farm
Then - Actions
Game - Display to (All players matching ((Owner of (Constructing structure)) Equal to (Matching player)).) the text: You cannot build farms in the desert
Player - Add 50 to (Owner of (Constructing structure)) . Current gold
Unit - Explode (Constructing structure) .
Else - Actions
Untitled Trigger 002
Events
Conditions
Actions
Untitled Trigger 001
Events
Unit - A unit Acquires an item
Conditions
Actions
Unit - Replace (Triggering unit) with a Hero Bow using The old unit's relative life and mana
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.