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
Ice Wars Defense v1.0.w3x
Variables
Initialization
Melee Initialization
Ice Initialization
TeamMove West
TeamMove East
TeamMove Special
Order Units
Order Units Copy
Order Move
Order Move Copy
TeamWin West
TeamWin East
Fortress Exp
Leaver
Trigger
Lumber
UpgradeFrozen
UpgradeFreeze
Timberman
Timer Resource
Kaboomer
Fortress
Animation Stun
Animation Hero
TeamMove Units
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
Visibility - Create an initially Enabled visibility modifier for Player 11 (Dark Green) emitting Visibility from (Position of Fortress of Ice 0009 <gen>) to a radius of 300.00 .
Visibility - Create an initially Enabled visibility modifier for Player 12 (Brown) emitting Visibility from (Position of Fortress of Ice 0007 <gen>) to a radius of 300.00 .
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of Fortress of Ice 0007 <gen> using Abilities\Spells\Undead\FreezingBreath\FreezingBreathTargetArt.mdl
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of Fortress of Ice 0009 <gen> using Abilities\Spells\Undead\FreezingBreath\FreezingBreathTargetArt.mdl
-------- Comment --------
Unit - Make Fortress of Ice 0007 <gen> face (Center of FreezePick_Shop <gen>) over 0 seconds
Unit - Make Fortress of Ice 0009 <gen> face (Center of FrozenPick_Shop <gen>) over 0 seconds
Special Effect - Create a special effect attached to the chest (Unexpected type: 'attachpoint') of Fortress of Ice 0007 <gen> using Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal6.mdl
Special Effect - Create a special effect attached to the chest (Unexpected type: 'attachpoint') of Fortress of Ice 0009 <gen> using Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal6.mdl
Floating Text - Create floating text that reads TEAM FROST OF THE WEST at (Center of FrozenPick_Shop <gen>) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Floating Text - Create floating text that reads TEAM FREEZE OF THE EAST at (Center of FreezePick_Shop <gen>) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Ice Initialization
Events
Map initialization
Conditions
Actions
Unit - Create 1 . Ice Wars Shop for Player 12 (Brown) at ((Center of Lumber <gen>) offset by (0.00, 500.00)) facing Default building facing degrees
Unit - Create 1 . Ice Wars Shop for Player 11 (Dark Green) at ((Center of Lumber <gen>) offset by (0.00, 500.00)) facing Default building facing degrees
Player Group - Pick every player in (All players controlled by a User player) and do (Actions)
Loop - Actions
Player - Add 300 to (Picked player) . Current gold
Player - Add 150 to (Picked player) . Current lumber
Unit - Create 1 . Farmer for (Picked player) at (Center of Lumber <gen>) facing Default building facing degrees
Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility from (Center of (Playable map area)) to a radius of 1000.00 .
Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across Lumber <gen>
Special Effect - Create a special effect at (Center of FrozenPick <gen>) using Abilities\Spells\NightElf\Tranquility\Tranquility.mdl
Special Effect - Create a special effect at (Center of FreezePick <gen>) using Abilities\Spells\NightElf\Tranquility\Tranquility.mdl
Special Effect - Create a special effect at (Position of Fortress of Ice 0007 <gen>) using Abilities\Spells\Undead\Unsummon\UnsummonTarget.mdl
Special Effect - Create a special effect at (Position of Fortress of Ice 0009 <gen>) using Abilities\Spells\Undead\Unsummon\UnsummonTarget.mdl
TeamMove West
Events
Unit - A unit enters FrozenPick <gen>
Conditions
((Triggering unit) is A structure) Not equal to True
Or - Any (Conditions) are true
Conditions
((Owner of (Triggering unit)) is an ally of Player 11 (Dark Green).) Equal to True
(Unit-type of (Triggering unit)) Equal to Ghost Ice Ship
(Unit-type of (Triggering unit)) Equal to Seer
And - All (Conditions) are true
Conditions
(Unit-type of (Triggering unit)) Not equal to Ice War Chief
(Unit-type of (Triggering unit)) Not equal to Yo Feeder
(Unit-type of (Triggering unit)) Not equal to Farmer
Actions
Unit - Move (Triggering unit) instantly to (Random point in FrozenArea_West <gen>)
Special Effect - Create a special effect at (Center of FrozenArea_West <gen>) using Abilities\Spells\Human\MassTeleport\MassTeleportTarget.mdl
Special Effect - Destroy (Last created special effect)
Unit - Change ownership of (Triggering unit) to Player 11 (Dark Green) and Retain color
Unit - Order (Triggering unit) to Attack-Move To . (Center of FreezePick <gen>)
TeamMove East
Events
Unit - A unit enters FreezePick <gen>
Conditions
((Triggering unit) is A structure) Not equal to True
Or - Any (Conditions) are true
Conditions
((Owner of (Triggering unit)) is an ally of Player 12 (Brown).) Equal to True
(Unit-type of (Triggering unit)) Equal to Ghost Ice Ship
(Unit-type of (Triggering unit)) Equal to Seer
And - All (Conditions) are true
Conditions
(Unit-type of (Triggering unit)) Not equal to Ice War Chief
(Unit-type of (Triggering unit)) Not equal to Yo Feeder
(Unit-type of (Triggering unit)) Not equal to Farmer
Actions
Unit - Move (Triggering unit) instantly to (Random point in FreezeArea_East <gen>)
Special Effect - Create a special effect at (Center of FreezeArea_East <gen>) using Abilities\Spells\Human\MassTeleport\MassTeleportTarget.mdl
Special Effect - Destroy (Last created special effect)
Unit - Change ownership of (Triggering unit) to Player 12 (Brown) and Retain color
Unit - Order (Triggering unit) to Attack-Move To . (Center of FrozenPick <gen>)
TeamMove Special
Events
Unit - A unit enters FrozenPick_Shop <gen>
Unit - A unit enters FreezePick_Shop <gen>
Conditions
((Triggering unit) is A structure) Not equal to True
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Triggering unit)) Equal to Farmer
Then - Actions
Unit - Move (Triggering unit) instantly to (Center of Lumber <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Triggering unit)) is an ally of Player 11 (Dark Green).) Equal to True
(Unit-type of (Triggering unit)) Equal to Ghost Ice Ship
(Unit-type of (Triggering unit)) Equal to Seer
Then - Actions
Unit - Move (Triggering unit) instantly to (Random point in FreezeArea_East <gen>)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Triggering unit)) is an ally of Player 12 (Brown).) Equal to True
(Unit-type of (Triggering unit)) Equal to Ghost Ice Ship
(Unit-type of (Triggering unit)) Equal to Seer
Then - Actions
Unit - Move (Triggering unit) instantly to (Random point in FreezeArea_East <gen>)
Else - Actions
Do nothing
Order Units
Events
Time - Every 20.00 seconds of game time
Conditions
Actions
Unit - Create 1 . Fortress Summon for Player 11 (Dark Green) at ((Center of FrozenArea_West <gen>) offset by (0.00, 300.00)) facing Default building facing degrees
Unit - Create 1 . Fortress Summon for Player 11 (Dark Green) at ((Center of FrozenArea_West <gen>) offset by (0.00, 0.00)) facing Default building facing degrees
Unit - Create 1 . Fortress Summon for Player 11 (Dark Green) at ((Center of FrozenArea_West <gen>) offset by (0.00, -300.00)) facing Default building facing degrees
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 11 (Dark Green)) and do (Actions)
Loop - Actions
Unit - Order (Picked unit) to Attack-Move To . (Center of FrozenArea_West <gen>)
Order Units Copy
Events
Time - Every 20.00 seconds of game time
Conditions
Actions
Unit - Create 1 . Fortress Summon for Player 12 (Brown) at ((Center of FreezeArea_East <gen>) offset by (0.00, 300.00)) facing Default building facing degrees
Unit - Create 1 . Fortress Summon for Player 12 (Brown) at ((Center of FreezeArea_East <gen>) offset by (0.00, 0.00)) facing Default building facing degrees
Unit - Create 1 . Fortress Summon for Player 12 (Brown) at ((Center of FreezeArea_East <gen>) offset by (0.00, -300.00)) facing Default building facing degrees
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 12 (Brown)) and do (Actions)
Loop - Actions
Unit - Order (Picked unit) to Attack-Move To . (Center of FrozenArea_West <gen>)
Order Move
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 11 (Dark Green)) and do (Actions)
Loop - Actions
Unit - Order (Picked unit) to Attack-Move To . (Center of FreezeArea_East <gen>)
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 12 (Brown)) and do (Actions)
Loop - Actions
Unit - Order (Picked unit) to Attack-Move To . (Center of FrozenArea_West <gen>)
Order Move Copy
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Taunt ice
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Ability being cast) Equal to Taunt ice
Then - Actions
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 11 (Dark Green)) and do (Actions)
Loop - Actions
Unit - Order (Picked unit) to Attack-Move To . (Center of FreezeArea_East <gen>)
Else - Actions
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 12 (Brown)) and do (Actions)
Loop - Actions
Unit - Order (Picked unit) to Attack-Move To . (Center of FrozenArea_West <gen>)
TeamWin West
Events
Unit - Fortress of Ice 0007 <gen> Dies
Conditions
Actions
Unit - Make Fortress of Ice 0009 <gen> Invulnerable
Game - Display to (All players) for 30 seconds the text: (|cffffcc00TEAM FREEZE + of the East has won the game!)
Game - Display to (All players) for 30 seconds the text: Victory in a few seconds for the Winning Team
Unit - Move (Killing unit) instantly to (Center of (Playable map area))
Special Effect - Create a special effect at (Position of (Killing unit)) using Objects\Spawnmodels\Naga\NagaDeath\NagaDeath.mdl
Game - Pause the game
Special Effect - Create a special effect at (Center of (Playable map area)) using Abilities\Spells\NightElf\Starfall\StarfallCaster.mdl
Player Group - Pick every player in (All allies of Player 12 (Brown).) and do (Actions)
Loop - Actions
Camera - Pan camera for (Picked player) to (Center of (Playable map area)) over 0 seconds
Wait 10.00 seconds
Game - Victory Player 4 (Purple) ( Show dialogs, Show scores)
Game - Victory Player 5 (Yellow) ( Show dialogs, Show scores)
Game - Victory Player 6 (Orange) ( Show dialogs, Show scores)
Game - Defeat Player 1 (Red) with the message: Defeat!
Game - Defeat Player 2 (Blue) with the message: Defeat!
Game - Defeat Player 3 (Teal) with the message: Defeat!
TeamWin East
Events
Unit - Fortress of Ice 0009 <gen> Dies
Conditions
Actions
Unit - Make Fortress of Ice 0007 <gen> Invulnerable
Game - Display to (All players) for 30 seconds the text: (|cffffcc00TEAM FROZEN + of the West has won the game!)
Game - Display to (All players) for 30 seconds the text: Victory in a few seconds for the Winning Team
Unit - Move (Killing unit) instantly to (Center of (Playable map area))
Special Effect - Create a special effect at (Position of (Killing unit)) using Objects\Spawnmodels\Naga\NagaDeath\NagaDeath.mdl
Game - Pause the game
Special Effect - Create a special effect at (Center of (Playable map area)) using Abilities\Spells\NightElf\Starfall\StarfallCaster.mdl
Player Group - Pick every player in (All allies of Player 11 (Dark Green).) and do (Actions)
Loop - Actions
Camera - Pan camera for (Picked player) to (Center of (Playable map area)) over 0 seconds
Wait 10.00 seconds
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Game - Victory Player 2 (Blue) ( Show dialogs, Show scores)
Game - Victory Player 3 (Teal) ( Show dialogs, Show scores)
Game - Defeat Player 4 (Purple) with the message: Defeat!
Game - Defeat Player 5 (Yellow) with the message: Defeat!
Game - Defeat Player 6 (Orange) with the message: Defeat!
Fortress Exp
Events
Unit - A unit Dies
Conditions
(Unit-type of (Killing unit)) Equal to Fortress of Ice
Actions
Hero - Add 30 experience to (Killing unit) , Show level-up graphics
Special Effect - Create a special effect at (Random point in FightArea <gen>) using Doodads\Underground\Props\GCracks\GCracks1.mdl
Leaver
Events
Player - Player 1 (Red) leaves the game
Player - Player 2 (Blue) leaves the game
Player - Player 3 (Teal) leaves the game
Player - Player 4 (Purple) leaves the game
Player - Player 5 (Yellow) leaves the game
Player - Player 6 (Orange) leaves the game
Conditions
Actions
Game - Display to (All players) for 100.00 seconds the text: ((Name of (Triggering player)) + |cffff0000 has left the game.)
Unit Group - Pick every unit in (Units owned by (Triggering player).) and do (Actions)
Loop - Actions
Unit - Kill (Picked unit)
Unit - Create 1 . Watchtower for Player 1 (Red) at (Position of (Picked unit)) facing Default building facing degrees
Lumber
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Lumber
Actions
Player - Add 1 to (Owner of (Killing unit)) . Current lumber
Unit - Create 1 . Lumber for Neutral Hostile at (Random point in Lumber <gen>) facing Default building facing degrees
Unit - Move (Killing unit) instantly to (Random point in Lumber <gen>)
Unit Group - Pick every unit in (Units in Lumber <gen> owned by Neutral Hostile) and do (Actions)
Loop - Actions
Unit - Order (Picked unit) to Attack-Move To . (Random point in Lumber <gen>)
UpgradeFrozen
Events
Unit - A unit enters FrozenPick <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Upgrade
Actions
Unit - Order Watchtower 0011 <gen> to research Rowd (Unexpected type: 'techcode')
Unit - Remove (Triggering unit) from the game
UpgradeFreeze
Events
Unit - A unit enters FreezePick <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Upgrade
Actions
Unit - Order Watchtower 0013 <gen> to research Rowd (Unexpected type: 'techcode')
Unit - Remove (Triggering unit) from the game
Timberman
Events
Unit - A unit leaves Lumber <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Random point in Lumber <gen>)
Unit - Order (Triggering unit) to Attack-Move To . (Random point in Lumber <gen>)
Timer Resource
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Add (Random integer number between 2 and 4) to (Picked player) . Current gold
Player - Add 1 to (Picked player) . Current lumber
Kaboomer
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Kaboomer
Actions
Special Effect - Create a special effect at (Position of (Triggering unit)) using Units\Undead\Abomination\AbominationExplosion.mdl
Wait 2 seconds
Special Effect - Destroy (Last created special effect)
Fortress
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Fortress of Ice
Actions
Unit Group - Pick every unit in (Units in (Playable map area) owned by (Owner of (Killing unit))) and do (Actions)
Loop - Actions
Unit Group - Order (Units in FightArea <gen> owned by (Owner of (Killing unit))) to Move To . (Position of (Triggering unit))
Wait 2 seconds
Unit Group - Pick every unit in (Units in (Playable map area) owned by (Owner of (Killing unit))) and do (Actions)
Loop - Actions
Unit Group - Order (Units in FightArea <gen> owned by (Owner of (Killing unit))) to Patrol To . (Position of (Triggering unit))
Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
Wait 2 seconds
Special Effect - Destroy (Last created special effect)
Animation Stun
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to War Stomp help
Actions
Animation - Play (Triggering unit) 's channel animation
Animation - Play (Triggering unit) 's victory animation
Animation - Play (Triggering unit) 's loop animation
Animation Hero
Events
Unit - A unit owned by Player 8 (Pink) . Dies
Conditions
Actions
Unit Group - Pick every unit in (Units in Icewars_Middle <gen>) and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to (Random point in Icewars_Middle <gen>)
Unit - Change ownership of (Picked unit) to Neutral Hostile and Retain color
Game - Display to (All players) for 10.00 seconds the text: .
Wait 2.00 seconds
Animation - Play (Picked unit) 's attack animation
Wait 2.00 seconds
Animation - Play (Picked unit) 's spell animation
Wait 2 seconds
Animation - Play (Picked unit) 's victory animation, using only Rare animations
Wait 2 seconds
Animation - Play (Picked unit) 's victory animation
Wait 2 seconds
Animation - Play (Picked unit) 's victory animation
TeamMove Units
Events
Player - Player 1 (Red) types a chat message containing -icewarsdefense (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing -icewarsdefense (Unexpected type: 'stringnoformat') as An exact match
Player - Player 3 (Teal) types a chat message containing -icewarsdefense (Unexpected type: 'stringnoformat') as An exact match
Player - Player 4 (Purple) types a chat message containing -icewarsdefense (Unexpected type: 'stringnoformat') as An exact match
Player - Player 5 (Yellow) types a chat message containing -icewarsdefense (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing -icewarsdefense (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Game - Display to (All players) for 10.00 seconds the text: A player has summoned Ice Fortress units.
Camera - Pan camera for (Triggering player) to (Center of Icewars_Middle <gen>) over 0 seconds
Unit - Create 1 . Fortress of Ice for Player 8 (Pink) at (Center of Icewars_Middle <gen>) facing Default building facing degrees
Hero - Create Ice Fortress and give it to (Last created unit)
Unit Group - Pick every unit in (Units in IcewarsArea <gen>) and do (Actions)
Loop - Actions
Unit - Make (Picked unit) Sleep when unprovoked
Unit - Move (Picked unit) instantly to (Random point in Icewars_Middle <gen>)
Wait 5.00 seconds
Unit - Wake up (Triggering unit)
Wait 60.00 seconds
Animation - Play (Picked unit) 's victory animation
Wait 2 seconds
Animation - Play (Picked unit) 's victory animation
Wait 2 seconds
Animation - Play (Picked unit) 's victory animation
Wait 2 seconds
Animation - Play (Picked unit) 's victory animation
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.