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 Map.w3x
Variables
Initialization
Peasants work
Random triggers
Melee Initialization
Game cache
Goblins no new stuff
Troll attack
Stag Run 2
Stag Run 3
Troll sound
First Quest
Blocked by trees 1
Beginning
Cinematic
Talk to tinker
Polar bear first siteing
Polar bear defeat
Tinker after bear
First quest running
Trolls run
Trolls run Copy 2
Trolls run Copy 3
Trolls run Copy 4
Bear runs
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
haha
real
No
Peasants work
Events
Map initialization
Conditions
Actions
Unit - Order Peasant 0002 <gen> to Move To . (Center of p_work_1 <gen>)
Unit - Order Peasant 0003 <gen> to Move To . (Center of p_work_2 <gen>)
Unit - Order Peasant 0004 <gen> to Move To . (Center of p_work_3 <gen>)
Unit - Order Peasant 0005 <gen> to Move To . (Center of p_work_4 <gen>)
Wait 5.00 seconds
Animation - Play Peasant 0002 <gen> 's work animation
Animation - Play Peasant 0003 <gen> 's work animation
Animation - Play Peasant 0004 <gen> 's work animation
Animation - Play Peasant 0005 <gen> 's work animation
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Unit - Make Clockwerk Goblin 0034 <gen> Invulnerable
Unit - Make Clockwerk Goblin 0035 <gen> Invulnerable
Unit - Make Clockwerk Goblin 0036 <gen> Invulnerable
Unit - Make Goblin engineer 0032 <gen> Invulnerable
Unit - Make Tinker's Factory 0033 <gen> Invulnerable
Unit - Make Paladin 0055 <gen> Invulnerable
Unit - Make Keep 0006 <gen> Invulnerable
Unit - Make Lumber Mill 0001 <gen> Invulnerable
Unit - Make Peasant 0005 <gen> Invulnerable
Unit - Make Peasant 0004 <gen> Invulnerable
Unit - Make Peasant 0003 <gen> Invulnerable
Unit - Make Peasant 0002 <gen> Invulnerable
Unit - Make Zeppelin 0061 <gen> Invulnerable
Unit - Make Shredder 0076 <gen> Invulnerable
Unit - Make Archer 0075 <gen> Invulnerable
Unit - Make Footman 0052 <gen> Invulnerable
Unit - Make Footman 0060 <gen> Invulnerable
Unit - Make Villager 0022 <gen> Invulnerable
Unit - Make Footman 0070 <gen> Invulnerable
Unit - Make Footman 0062 <gen> Invulnerable
Unit - Make Villager 0027 <gen> Invulnerable
Unit - Make Villager 0017 <gen> Invulnerable
Unit - Make Villager 0016 <gen> Invulnerable
Unit - Make Child 0018 <gen> Invulnerable
Unit - Make Dog 0030 <gen> Invulnerable
Unit - Make Footman 0063 <gen> Invulnerable
Unit - Make Villager 0019 <gen> Invulnerable
Unit - Make Villager 0020 <gen> Invulnerable
Unit - Make Villager 0021 <gen> Invulnerable
Unit - Make Child 0023 <gen> Invulnerable
Unit - Make Archer 0074 <gen> Invulnerable
Unit - Make Villager 0026 <gen> Invulnerable
Unit - Make Footman 0065 <gen> Invulnerable
Unit - Make Villager 0024 <gen> Invulnerable
Unit - Make Footman 0066 <gen> Invulnerable
Unit - Make Villager 0025 <gen> Invulnerable
Unit - Make Footman 0068 <gen> Invulnerable
Unit - Make Footman 0072 <gen> Invulnerable
Unit - Make Footman 0069 <gen> Invulnerable
Unit - Make Barracks 0058 <gen> Invulnerable
Unit - Make Paladin 0055 <gen> Invulnerable
Unit - Make Archer 0073 <gen> Invulnerable
Destructible - Make Icy Gate 1235 <gen> Invulnerable
Game cache
Events
Map initialization
Conditions
Actions
Game Cache - Create a game cache from MapName.w3v (Unexpected type: 'stringnoformat')
Game Cache - Save (Last created game cache) .
Goblins no new stuff
Events
Unit - A unit enters Goblin_merchant <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to (Unit-type of Paladin 0054 <gen>)
Actions
Game - Display to (All players) for 7.00 seconds the text: Goblin: Sorry no stuff for sale today, the shipments been cut off because of the troll attacks.
Troll attack
Events
Unit - A unit enters Trolls_attack_stag <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to (Unit-type of Paladin 0054 <gen>)
Actions
Sound - Play ForestTrollYes4 <gen> at 100 % volume, located at (Center of Trolls_attack_stag <gen>) with Z offset 0
Cinematic - Clear the screen of text messages for (All players) .
Trigger - Turn off (This trigger)
Unit - Order Stag 0053 <gen> to Move To . (Center of stag_runs_1 <gen>)
Unit - Order Ice Troll 0049 <gen> to Attack-Move To . (Center of Trolls_run_stag <gen>)
Unit - Order Ice Troll 0046 <gen> to Attack-Move To . (Center of Trolls_run_stag <gen>)
Game - Display to (All players) the text: Ice Troll 1: It's gettin away!
Wait 1.50 seconds
Game - Display to (All players) the text: Ice Troll 2: Why chase that, we got meat right here
Stag Run 2
Events
Unit - A unit enters stag_runs_1 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to (Unit-type of Stag 0053 <gen>)
Actions
Unit - Order Stag 0053 <gen> to Move To . (Center of (Playable map area))
Stag Run 3
Events
Unit - A unit enters Stag_runs_2 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to (Unit-type of Stag 0053 <gen>)
Actions
Unit - Remove (Triggering unit) from the game
Troll sound
Events
Unit - A unit enters Troll_sound <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to (Unit-type of Paladin 0054 <gen>)
Actions
Sound - Play ForestTrollYesAttack2 <gen> at 100 % volume, located at (Center of Troll_sound <gen>) with Z offset 0
Unit - Order Ice Troll 0051 <gen> to Attack-Move To . (Center of Troll_sound <gen>)
Unit - Order Ice Troll Trapper 0050 <gen> to Attack-Move To . (Center of Troll_sound <gen>)
Trigger - Turn off (This trigger)
Blocked by trees 1
Events
Unit - A unit enters Part_1_blocked_by_trees <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to (Unit-type of Paladin 0054 <gen>)
Actions
Game - Display to (All players) the text: There seems to be human tracks leading to the right, but the gates doesn't look like it will open, guess he was telling the truth. I'll need to find a way around
Game - Pause the game
Wait 8.50 seconds
Game - Unpause the game
Quest - Display to (All players) the Quest Update message: Find a way to get past the gate
Quest - Create a quest requirement for (Last created quest) with the description Find a way to get past the gate blocking your way
Trigger - Turn off (This trigger)
Beginning
Events
Map initialization
Conditions
Actions
Wait 4.00 seconds
Quest - Create a Required quest titled Look for Captain with the description There was a soldier captain that took a trip in the forest, and he didn't make it out. The paladin is worried something has happened, and wants you to look for him. , using icon path ReplaceableTextures\CommandButtons\BTNFootman.blp
Cinematic
Events
Map initialization
Conditions
Actions
Cinematic - Turn cinematic mode On for (All players)
Cinematic - Turn on letterbox mode (hide interface) for (All players) : fade out over 2 seconds
Cinematic - Disable user control for (All players) .
Cinematic - Clear the screen of text messages for (All players) .
Cinematic - Turn subtitle display override On
Camera - . Apply . gg_cam_Begining for Player 1 (Red) over 21.00 seconds
Cinematic - Send transmission to (All players) from Paladin 0055 <gen> named Sir Gregory Edmunson : Play No sound and display Thanks for helping out, we need all the help we can get, with the troll attacks getting worse. Anyway the captain left with some business to a town near here to the west, around a days walk. . Modify duration: Add 9.00 seconds and Wait
Wait 9.00 seconds
Cinematic - Send transmission to (All players) from Paladin 0055 <gen> named Sir Gregory Edmunson : Play No sound and display Just find a way past that gate. It's broken down, so you'll probably have to find a way around it, good luck, and come back in one piece, the last search party hasn't shown up yet. . Modify duration: Add 18.00 seconds and Wait
Wait 10.00 seconds
Do nothing
Cinematic - Turn cinematic mode Off for (All players)
Cinematic - Turn off letterbox mode (show interface) for (All players) : fade in over 2 seconds
Cinematic - Enable user control for (All players) .
Camera - Reset camera for Player 1 (Red) to standard game-view over 0 seconds
Talk to tinker
Events
Unit - A unit enters talk_to_tinker <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to (Unit-type of Paladin 0054 <gen>)
Actions
Quest - Mark (Last created quest requirement) as Completed
Game - Display to (All players) for 8.00 seconds the text: Tinker: So you got a problem? I can even fly you where you need to go, but I've got something i need you to do first.
Trigger - Turn off (This trigger)
Wait 10.00 seconds
Game - Display to (All players) for 14.00 seconds the text: Tinker: There's a polar bear that keeps messing with my stuff everytime i turn around, chewed accelerator here, bashed in compartment there. I want you to get rid of him, I mean you don't have to kill him, just chase him off and Ill help you out.
Quest - Create a quest requirement for (Last created quest) with the description Scare off polar bear, to get tinker's help
Wait 14.00 seconds
Quest - Display to (All players) the Quest Update message: Scare off Polar Bear
Camera - . Apply . gg_cam_Blow_up_trees for Player 1 (Red) over 21.00 seconds
Cinematic - Turn subtitle display override On
Cinematic - Turn on letterbox mode (hide interface) for (All players) : fade out over 2 seconds
Cinematic - Turn cinematic mode On for (All players)
Cinematic - Disable user control for (All players) .
Cinematic - Send transmission to (All players) from Goblin engineer 0032 <gen> named Tinker : Play No sound and display My guys here will clear a path for you . Modify duration: Add 9.00 seconds and Wait
Unit - Order Clockwerk Goblin 0035 <gen> to Neutral - Kaboom! . (Center of kaboom_2 <gen>)
Wait 7.00 seconds
Cinematic - Turn cinematic mode Off for (All players)
Cinematic - Turn off letterbox mode (show interface) for (All players) : fade in over 2 seconds
Cinematic - Enable user control for (All players) .
Camera - Reset camera for Player 1 (Red) to standard game-view over 0 seconds
Polar bear first siteing
Events
Unit - A unit enters Trolls_attack_bear <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to (Unit-type of Paladin 0054 <gen>)
Actions
Unit - Change ownership of Giant Polar Bear 0037 <gen> to Player 3 (Teal) and Retain color
Trigger - Turn off (This trigger)
Sound - Play ForestTrollYesAttack4 <gen> at 100 % volume, located at (Center of Trolls_attack_bear <gen>) with Z offset 0
Unit - Set life of Ice Troll 0040 <gen> to 10.00
Unit - Set life of Ice Troll Priest 0039 <gen> to 10.00
Unit - Set life of Ice Troll 0041 <gen> to 10.00
Unit - Set life of Ice Troll Trapper 0038 <gen> to 10.00
Game - Display to (All players) for 5.00 seconds the text: Troll: Run It's too strong!!
Unit - Order Ice Troll 0040 <gen> to Move To . (Center of trolls_run_from_bear <gen>)
Unit - Order Ice Troll Priest 0039 <gen> to Move To . (Center of trolls_run_from_bear <gen>)
Unit - Order Ice Troll 0041 <gen> to Move To . (Center of trolls_run_from_bear <gen>)
Unit - Order Ice Troll Trapper 0038 <gen> to Move To . (Center of trolls_run_from_bear <gen>)
Unit - Order Giant Polar Bear 0037 <gen> to Attack . Paladin 0054 <gen>
Wait 1.25 seconds
Sound - Play GrizzlyBearReady1 <gen> at 100 % volume, located at (Center of Trolls_attack_bear <gen>) with Z offset 0
Polar bear defeat
Events
Unit - Giant Polar Bear 0037 <gen> 's life becomes Less than or equal to 300.00
Unit - Giant Polar Bear 0037 <gen> Dies
Conditions
(Unit-type of (Triggering unit)) Equal to (Unit-type of Giant Polar Bear 0037 <gen>)
Actions
Unit - Make (Triggering unit) Invulnerable
Unit - Order Giant Polar Bear 0037 <gen> to Move To . (Center of trolls_run_from_bear <gen>)
Quest - Mark (Last created quest requirement) as Completed
Sound - Play GrizzlyBearWhat1 <gen> at 100 % volume, attached to Giant Polar Bear 0037 <gen>
Trigger - Turn off (This trigger)
Tinker after bear
Events
Unit - A unit enters talk_to_tinker <gen>
Conditions
(Life of Giant Polar Bear 0037 <gen>) Less than or equal to 300.00
Actions
Game - Display to (All players) for 8.00 seconds the text: Tinker: He's gone? Really? I was wondering If you could do it or not, I guess your tougher than you look.
Unit - Remove Ice Troll 0051 <gen> from the game
Unit - Remove Ice Troll Trapper 0050 <gen> from the game
Game Cache - Store Paladin 0054 <gen> as Paladin hero (Unexpected type: 'stringnoformat') of Category (Unexpected type: 'stringnoformat') in (Last created game cache)
Game Cache - Save (Last created game cache) .
Quest - Mark (Last created quest requirement) as Completed
Trigger - Turn off (This trigger)
Wait 8.00 seconds
Player - Add 100 to Player 1 (Red) . Current gold
Game - Display to (All players) for 8.00 seconds the text: Tinker: Anyway, since you stuck to your side of the deal, so will I. Let me get everything in place, and were good to go.
Wait 8.00 seconds
Cinematic - Turn cinematic mode On for (All players)
Cinematic - Turn on letterbox mode (hide interface) for (All players) : fade out over 2 seconds
Cinematic - Disable user control for (All players) .
Cinematic - Clear the screen of text messages for (All players) .
Unit - Move Paladin 0054 <gen> instantly to (Center of talk_to_tinker <gen>)
Cinematic - Turn subtitle display override On
Camera - . Apply . gg_cam_Tinker_fly_away for Player 1 (Red) over 2.00 seconds
Wait 2 seconds
Cinematic - Fade out over 2 seconds using texture Black Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Wait 3.00 seconds
Cinematic - Fade in over 2 seconds using texture Black Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Cinematic - Send transmission to (All players) from Goblin engineer 0032 <gen> named Tinker : Play No sound and display Alright, all systems go. Time to fly. . Modify duration: Add 0 seconds and Wait
Sound - Play HeroTinkerWhat4 <gen> at 100 % volume, attached to Goblin engineer 0032 <gen>
Unit - Move Footman 0064 <gen> instantly to (Center of footman <gen>)
Unit - Move Footman 0071 <gen> instantly to (Center of footman <gen>)
Unit - Order Footman 0064 <gen> to Move To . (Center of footman_move <gen>)
Wait 0.50 seconds
Unit - Order Footman 0071 <gen> to Move To . (Center of footman_move_2 <gen>)
Cinematic - Send transmission to (All players) from Footman 0064 <gen> named Footman1 : Play No sound and display Wait! Were to come with you, paladin's orders. . Modify duration: Add 0 seconds and Wait
Wait 5.00 seconds
Cinematic - Send transmission to (All players) from Goblin engineer 0032 <gen> named Tinker : Play No sound and display Ok the more the merrier, can we get this show on the road people? . Modify duration: Add 0 seconds and Wait
Wait 5.00 seconds
Unit - Order Footman 0064 <gen> to Move To . (Center of footman_3 <gen>)
Unit - Order Footman 0071 <gen> to Move To . (Center of footman_4 <gen>)
Unit - Order Zeppelin 0061 <gen> to Move To . (Center of talk_to_tinker <gen>)
Unit - Remove Goblin engineer 0032 <gen> from the game
Wait 1.00 seconds
Unit - Remove Paladin 0054 <gen> from the game
Wait 1.00 seconds
Unit - Remove Footman 0064 <gen> from the game
Wait 1.00 seconds
Unit - Remove Footman 0071 <gen> from the game
Wait 2 seconds
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Trolls run
Events
Unit - A unit enters trolls_run_from_bear <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to (Unit-type of Ice Troll 0040 <gen>)
Actions
Unit - Remove (Triggering unit) from the game
Trolls run Copy 2
Events
Unit - A unit enters trolls_run_from_bear <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to (Unit-type of Ice Troll Priest 0039 <gen>)
Actions
Unit - Remove (Triggering unit) from the game
Trolls run Copy 3
Events
Unit - A unit enters trolls_run_from_bear <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to (Unit-type of Ice Troll 0041 <gen>)
Actions
Unit - Remove (Triggering unit) from the game
Trolls run Copy 4
Events
Unit - A unit enters trolls_run_from_bear <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to (Unit-type of Ice Troll Trapper 0038 <gen>)
Actions
Unit - Remove (Triggering unit) from the game
Bear runs
Events
Unit - A unit enters trolls_run_from_bear <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to (Unit-type of Giant Polar Bear 0037 <gen>)
Actions
Unit - Remove (Triggering unit) from the game
Quest - Display to (All players) the Quest Update message: Talk to Tinker
Quest - Create a quest requirement for (Last created quest) with the description Talk to tinker
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.