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
Empire War - Tournament 1.2 Fixed.w3x
Variables
Initialization
Gold
Hints
Bounty
Unlock ally settings
Lock ally
Castle Ping
Castles
Beach Castle
Jungle Castle
Barbarian Castle
Island Castle
Mountain Castle
Spire Castle
Port King
Income
Farm
Farm Copy
Farm Copy 2
Farm Copy 3
Farm Copy 3 Copy
Farm Copy 3 Copy Copy
Special Items
The Bow
Temple
Dead King
Enter
Respawn
Towers human
Towers orc
farm human
farm orc
blacksmith human
barracks human
barracks orc
Castles takeover
Beach castle
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
Farms
integer
Yes
Hutts
integer
Yes
Gold
Events
Map initialization
Conditions
Actions
Player - Set Player 1 (Red) . Current gold to 4000
Player - Set Player 2 (Blue) . Current gold to 4000
Player - Set Player 3 (Teal) . Current gold to 4000
Player - Set Player 4 (Purple) . Current gold to 4000
Player - Set Player 5 (Yellow) . Current gold to 4000
Player - Set Player 6 (Orange) . Current gold to 4000
Hints
Events
Map initialization
Conditions
Actions
Wait 2 seconds
Game - Display to (All players) the text: Take over only one castle at the begining.When everyone has a castle then you can begin tacking over other castles.
Wait 5.00 seconds
Game - Display to (All players) the text: Use Ships for fast unit transport.
Wait 10.00 seconds
Game - Display to (All players) the text: Farms and Barbarian Hutts gives you Income.Try not to loose them!
Wait 120.00 seconds
Game - Display to (All players) the text: When the teams are set, player Red can lock them by typing -lockteams
Bounty
Events
Map initialization
Conditions
Actions
Player - Turn Gives bounty On for Player 1 (Red)
Player - Turn Gives bounty On for Player 2 (Blue)
Player - Turn Gives bounty On for Player 3 (Teal)
Player - Turn Gives bounty On for Player 4 (Purple)
Player - Turn Gives bounty On for Player 5 (Yellow)
Player - Turn Gives bounty On for Player 6 (Orange)
Unlock ally settings
Events
Map initialization
Conditions
Actions
Game - Set Lock alliance settings to Off
Game - Set Restrict resource trading to allies to Off
Lock ally
Events
Player - Player 1 (Red) types a chat message containing -lockteams (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Game - Set Lock alliance settings to On
Game - Set Restrict resource trading to allies to On
Castle Ping
Events
Player - Player 1 (Red) types a chat message containing -castles (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing -castles (Unexpected type: 'stringnoformat') as An exact match
Player - Player 3 (Teal) types a chat message containing -castles (Unexpected type: 'stringnoformat') as An exact match
Player - Player 4 (Purple) types a chat message containing -castles (Unexpected type: 'stringnoformat') as An exact match
Player - Player 5 (Yellow) types a chat message containing -castles (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing -castles (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Cinematic - Ping minimap for (All players) at (Center of Region_000 <gen>) for 5.00 seconds
Cinematic - Ping minimap for (All players) at (Center of Region_001 <gen>) for 5.00 seconds
Cinematic - Ping minimap for (All players) at (Center of Region_002 <gen>) for 5.00 seconds
Cinematic - Ping minimap for (All players) at (Center of Region_003 <gen>) for 5.00 seconds
Cinematic - Ping minimap for (All players) at (Center of Region_004 <gen>) for 5.00 seconds
Cinematic - Ping minimap for (All players) at (Center of Region_005 <gen>) for 5.00 seconds
Cinematic - Ping minimap for (All players) at (Center of Region_006 <gen>) for 5.00 seconds
Beach Castle
Events
Unit - A unit enters Region_000 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Paladin (wielding Frostmourne)
Actions
Wait 2 seconds
Unit - Change ownership of Teritory Point 0001 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Barracks Point 0003 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Blacksmith Point 0020 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Farm Point 0022 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Farm Point 0023 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Tower Point 0010 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Tower Point 0011 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of (Last created unit) to (Owner of (Triggering unit)) and Change color
Player - Set name of (Owner of (Entering unit)) to ((Name of (Owner of (Triggering unit))) + the Beach King)
Trigger - Turn off (This trigger)
Jungle Castle
Events
Unit - A unit enters Region_001 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Paladin (wielding Frostmourne)
Actions
Wait 2 seconds
Unit - Change ownership of Teritory Point 0000 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Barracks Point 0002 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Barracks Point 0192 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Blacksmith Point 0021 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Farm Point 0028 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Farm Point 0024 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Farm Point 0025 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Farm Point 0026 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Farm Point 0027 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Tower Point 0013 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Tower Point 0012 <gen> to (Owner of (Triggering unit)) and Change color
Player - Set name of (Owner of (Entering unit)) to ((Name of (Owner of (Triggering unit))) + the Jungle King)
Trigger - Turn off (This trigger)
Barbarian Castle
Events
Unit - A unit enters Region_002 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Paladin (wielding Frostmourne)
Actions
Wait 2 seconds
Unit - Change ownership of Teritory Point 0031 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Barbarian Barracks Point 0038 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Barbarian Hutt Point 0033 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Barbarian Hutt Point 0032 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Barbarian Hutt Point 0034 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Barbarian Hutt Point 0035 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Barbarian Hutt Point 0037 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Barbarian Hutt Point 0036 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Boulder Tower Point 0029 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Boulder Tower Point 0030 <gen> to (Owner of (Triggering unit)) and Change color
Player - Set name of (Owner of (Entering unit)) to ((Name of (Owner of (Triggering unit))) + the Barbarian Lord)
Trigger - Turn off (This trigger)
Island Castle
Events
Unit - A unit enters Region_003 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Paladin (wielding Frostmourne)
Actions
Wait 2 seconds
Unit - Change ownership of Teritory Point 0067 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Barracks Point 0068 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Blacksmith Point 0069 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Farm Point 0063 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Farm Point 0064 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Farm Point 0065 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Farm Point 0066 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Tower Point 0071 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Tower Point 0070 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Tower Point 0072 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Goblin Shipyard 0089 <gen> to (Owner of (Triggering unit)) and Change color
Player - Set name of (Owner of (Entering unit)) to ((Name of (Owner of (Triggering unit))) + the Island King)
Trigger - Turn off (This trigger)
Mountain Castle
Events
Unit - A unit enters Region_004 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Paladin (wielding Frostmourne)
Actions
Wait 2 seconds
Unit - Change ownership of Teritory Point 0109 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Barbarian Barracks Point 0116 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Barbarian Barracks Point 0117 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Barbarian Hutt Point 0118 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Barbarian Hutt Point 0110 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Barbarian Hutt Point 0126 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Barbarian Hutt Point 0127 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Boulder Tower Point 0113 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Boulder Tower Point 0111 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Boulder Tower Point 0112 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Boulder Tower Point 0114 <gen> to (Owner of (Triggering unit)) and Change color
Player - Set name of (Owner of (Entering unit)) to ((Name of (Owner of (Triggering unit))) + the Mountain Lord)
Trigger - Turn off (This trigger)
Spire Castle
Events
Unit - A unit enters Region_005 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Paladin (wielding Frostmourne)
Actions
Wait 2 seconds
Unit - Change ownership of Teritory Point 0168 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Barracks Point 0160 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Tower Point 0163 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Tower Point 0162 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Tower Point 0161 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Farm Point 0165 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Farm Point 0164 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Farm Point 0167 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Farm Point 0166 <gen> to (Owner of (Triggering unit)) and Change color
Player - Set name of (Owner of (Entering unit)) to ((Name of (Owner of (Triggering unit))) + the Spire King)
Trigger - Turn off (This trigger)
Port King
Events
Unit - A unit enters Region_006 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Paladin (wielding Frostmourne)
Actions
Wait 2 seconds
Unit - Change ownership of Teritory Point 0169 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Barracks Point 0174 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Blacksmith Point 0175 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Farm Point 0171 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Farm Point 0170 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Farm Point 0176 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Farm Point 0177 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Tower Point 0172 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Tower Point 0173 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Goblin Shipyard 0086 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Change ownership of Human Shipyard 0193 <gen> to (Owner of (Triggering unit)) and Change color
Player - Set name of (Owner of (Entering unit)) to ((Name of (Owner of (Triggering unit))) + the Port King)
Trigger - Turn off (This trigger)
Farm
Events
Time - Every 45.00 seconds of game time
Conditions
Actions
Set Variable Set Farms[1] = (Number of living Farm units owned by Player 1 (Red))
Set Variable Set Hutts[1] = (Number of living Barbarian Hutt units owned by Player 1 (Red))
Player - Set Player 1 (Red) . Current gold to ((Player 1 (Red) Current gold) + ((Farms[1] x 200) + (Hutts[1] x 250)))
Player - Set Player 1 (Red) . Current lumber to ((Player 1 (Red) Current lumber) + ((Farms[1] x 1) + (Hutts[1] x 1)))
Farm Copy
Events
Time - Every 45.00 seconds of game time
Conditions
Actions
Set Variable Set Farms[1] = (Number of living Farm units owned by Player 2 (Blue))
Set Variable Set Hutts[1] = (Number of living Barbarian Hutt units owned by Player 2 (Blue))
Player - Set Player 2 (Blue) . Current gold to ((Player 2 (Blue) Current gold) + ((Farms[1] x 200) + (Hutts[1] x 250)))
Player - Set Player 2 (Blue) . Current lumber to ((Player 2 (Blue) Current lumber) + ((Farms[1] x 1) + (Hutts[1] x 1)))
Farm Copy 2
Events
Time - Every 45.00 seconds of game time
Conditions
Actions
Set Variable Set Farms[1] = (Number of living Farm units owned by Player 3 (Teal))
Set Variable Set Hutts[1] = (Number of living Barbarian Hutt units owned by Player 3 (Teal))
Player - Set Player 3 (Teal) . Current gold to ((Player 3 (Teal) Current gold) + ((Farms[1] x 200) + (Hutts[1] x 250)))
Player - Set Player 3 (Teal) . Current lumber to ((Player 3 (Teal) Current lumber) + ((Farms[1] x 1) + (Hutts[1] x 1)))
Farm Copy 3
Events
Time - Every 45.00 seconds of game time
Conditions
Actions
Set Variable Set Farms[1] = (Number of living Farm units owned by Player 4 (Purple))
Set Variable Set Hutts[1] = (Number of living Barbarian Hutt units owned by Player 4 (Purple))
Player - Set Player 4 (Purple) . Current gold to ((Player 4 (Purple) Current gold) + ((Farms[1] x 200) + (Hutts[1] x 250)))
Player - Set Player 4 (Purple) . Current lumber to ((Player 4 (Purple) Current lumber) + ((Farms[1] x 1) + (Hutts[1] x 1)))
Farm Copy 3 Copy
Events
Time - Every 45.00 seconds of game time
Conditions
Actions
Set Variable Set Farms[1] = (Number of living Farm units owned by Player 5 (Yellow))
Set Variable Set Hutts[1] = (Number of living Barbarian Hutt units owned by Player 5 (Yellow))
Player - Set Player 5 (Yellow) . Current gold to ((Player 5 (Yellow) Current gold) + ((Farms[1] x 200) + (Hutts[1] x 250)))
Player - Set Player 5 (Yellow) . Current lumber to ((Player 5 (Yellow) Current lumber) + ((Farms[1] x 1) + (Hutts[1] x 1)))
Farm Copy 3 Copy Copy
Events
Time - Every 45.00 seconds of game time
Conditions
Actions
Set Variable Set Farms[1] = (Number of living Farm units owned by Player 6 (Orange))
Set Variable Set Hutts[1] = (Number of living Barbarian Hutt units owned by Player 6 (Orange))
Player - Set Player 6 (Orange) . Current gold to ((Player 6 (Orange) Current gold) + ((Farms[1] x 200) + (Hutts[1] x 250)))
Player - Set Player 6 (Orange) . Current lumber to ((Player 6 (Orange) Current lumber) + ((Farms[1] x 1) + (Hutts[1] x 1)))
The Bow
Events
Unit - A unit Acquires an item
Conditions
(Unit-type of (Triggering unit)) Not equal to Sea Witch
(Item-type of (Item being manipulated)) Equal to Bow of Multishot
Actions
Item - Remove (Item being manipulated)
Item - Create Bow of Multishot at (Position of (Triggering unit))
Dead King
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Paladin (wielding Frostmourne)
Actions
Wait 2 seconds
Special Effect - Create a special effect at (Position of (Dying unit)) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
Unit - Create 1 . King Ghost for (Owner of (Dying unit)) at (Position of (Dying unit)) facing Default building facing degrees
Enter
Events
Unit - A unit enters Region_007 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to King Ghost
Actions
Unit - Kill (Entering unit)
Special Effect - Create a special effect at (Center of Region_007 <gen>) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
Wait 1.00 seconds
Hero - Instantly revive (Random unit from (Units owned by (Owner of (Entering unit)) of type Paladin (wielding Frostmourne))) at (Center of Region_008 <gen>) , Show revival graphics
Towers human
Events
Unit - A unit Dies
Conditions
((Dying unit) is A structure) Equal to True
Actions
Wait 600.00 seconds
Unit - Create 1 . (Unit-type of (Dying unit)) for (Owner of (Dying unit)) at (Position of (Dying unit)) facing Default building facing degrees
Towers orc
Events
Unit - A unit Dies
Conditions
((Dying unit) is A structure) Equal to True
(Unit-type of (Dying unit)) Equal to Guard Tower
Actions
Wait 300.00 seconds
Unit - Create 1 . Boulder Tower Point for (Owner of (Dying unit)) at (Position of (Dying unit)) facing Default building facing degrees
farm human
Events
Unit - A unit Dies
Conditions
((Dying unit) is A structure) Equal to True
(Unit-type of (Dying unit)) Equal to Guard Tower
Actions
Wait 300.00 seconds
Unit - Create 1 . Farm Point for (Owner of (Dying unit)) at (Position of (Dying unit)) facing Default building facing degrees
farm orc
Events
Unit - A unit Dies
Conditions
((Dying unit) is A structure) Equal to True
(Unit-type of (Dying unit)) Equal to Guard Tower
Actions
Wait 300.00 seconds
Unit - Create 1 . Barbarian Hutt Point for (Owner of (Dying unit)) at (Position of (Dying unit)) facing Default building facing degrees
blacksmith human
Events
Unit - A unit Dies
Conditions
((Dying unit) is A structure) Equal to True
(Unit-type of (Dying unit)) Equal to Guard Tower
Actions
Wait 300.00 seconds
Unit - Create 1 . Blacksmith Point for (Owner of (Dying unit)) at (Position of (Dying unit)) facing Default building facing degrees
barracks human
Events
Unit - A unit Dies
Conditions
((Dying unit) is A structure) Equal to True
(Unit-type of (Dying unit)) Equal to Guard Tower
Actions
Wait 300.00 seconds
Unit - Create 1 . Barracks Point for (Owner of (Dying unit)) at (Position of (Dying unit)) facing Default building facing degrees
barracks orc
Events
Unit - A unit Dies
Conditions
((Dying unit) is A structure) Equal to True
(Unit-type of (Dying unit)) Equal to Guard Tower
Actions
Wait 300.00 seconds
Unit - Create 1 . Barbarian Barracks for (Owner of (Dying unit)) at (Position of (Dying unit)) facing Default building facing degrees
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.