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
ANCIEN Forest Guards.w3x
Variables
Initialization
Melee Initialization
start
M
T1
T2
RRR
Untitled Trigger 001
open
Untitled Trigger 002
Untitled Trigger 002 Copy
oty
p1
p11
p12
p13
p14
p2
p21
p22
p23
p24
p3
p31
p32
p33
p34
p4
p41
p42py
p43
p44
sss
s
s Copy
s Copy 2
s Copy 3
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
Destructible - Make Rolling Stone Door 4889 <gen> Invulnerable
Destructible - Make Rolling Stone Door 5438 <gen> Invulnerable
Neutral Building - Set Gold Mine 0296 <gen> to 15000 gold
Neutral Building - Set Gold Mine 0295 <gen> to 15000 gold
Neutral Building - Set Gold Mine 0278 <gen> to 15000 gold
Neutral Building - Set Gold Mine 0228 <gen> to 15000 gold
Player - Change color of Player 1 (Red) to Gray , Changing color of existing units
Player - Change color of Player 2 (Blue) to Light Blue , Changing color of existing units
Player - Change color of Player 3 (Teal) to Orange , Changing color of existing units
Player - Change color of Player 4 (Purple) to Yellow , Changing color of existing units
Player - Change color of Player 11 (Dark Green) to Green , Changing color of existing units
Quest - Display to (All players) the Quest Discovered message: Somewere deep in the woods, there are two Elven strongholds. Find and eliminate both Trees of Night Elves to stop constant attacks from grove protector.
Player - Make Player 7 (Green) treat Neutral Hostile as an Ally with shared vision
Player - Make Player 7 (Green) treat Player 11 (Dark Green) as an Ally with shared vision
Player - Make Neutral Hostile treat Player 11 (Dark Green) as an Ally with shared vision
Player - Make Neutral Hostile treat Player 7 (Green) as an Ally with shared vision
Player - Make Player 11 (Dark Green) treat Player 7 (Green) as an Ally with shared vision
Player - Make Player 11 (Dark Green) treat Neutral Hostile as an Ally with shared vision
Melee Game - Use melee time of day (for all players)
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)
Melee Game - Set starting resources (for all players)
Melee Game - Remove creeps and critters from used start locations (for all players)
Melee Game - Create starting units (for all players)
Melee Game - Run melee AI scripts (for computer players)
Melee Game - Enforce victory/defeat conditions (for all players)
Player - Set Player 1 (Red) . Current gold to 2222
Player - Set Player 2 (Blue) . Current gold to 2222
Player - Set Player 3 (Teal) . Current gold to 2222
Player - Set Player 4 (Purple) . Current gold to 2222
Trigger - Run start <gen> (ignoring conditions)
Trigger - Run s <gen> (checking conditions)
Trigger - Run s_Copy <gen> (checking conditions)
Trigger - Run s_Copy_2 <gen> (checking conditions)
Trigger - Run s_Copy_3 <gen> (checking conditions)
Trigger - Run T1 <gen> (ignoring conditions)
start
Events
Conditions
Actions
Cinematic - Disable user control for (All players) .
Cinematic - Turn cinematic mode On for (All players)
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Order (Picked unit) to Stop.)
Unit Group - Pick every unit in (Units in Region_034 <gen>) and do (Order (Picked unit) to Hold Position.)
Camera - . Apply . gg_cam_Camera_001 for Player 1 (Red) over 0 seconds
Unit Group - Pick every unit in (Units in Region_034 <gen>) and do (Order (Picked unit) to Stop.)
Camera - . Apply . gg_cam_Camera_002 for Player 1 (Red) over 15.00 seconds
Wait 10.00 seconds
Cinematic - Fade out over 2 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Wait 2.50 seconds
Quest - Create a Optional quest titled Key Keeper. with the description McFurion and his guards are by the Fountain of life. Kill him, and both stone doors will be unlocked. , using icon path ReplaceableTextures\CommandButtons\BTNWarden2.blp
Quest - Enable (Last created quest)
Cinematic - Turn cinematic mode Off for (All players)
Cinematic - Enable user control for (All players) .
Cinematic - Fade in over 2 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Visibility - Enable fog of war
Visibility - Enable black mask
Visibility - Disable (Last created visibility modifier)
Wait 65.00 seconds
Game - Set game speed to Slow
Quest - Display to (All players) the Hint message: Find other gold mines!
Quest - Flash the quest dialog button
Wait 405.00 seconds
Quest - Display to (All players) the Hint message: Kill Macfurion at the Fountain of Life. His death will unlock two stone doors.
Quest - Flash the quest dialog button
Game - Set game speed to Fast
Quest - Create a Optional quest titled Trees of Power with the description Two big trees of life are summoning nature forces. They are safe behind thick stone walls and many guards. Destroy them, unlock treasures beneath their roots, and the hostile nature will be undone. , using icon path ReplaceableTextures\CommandButtons\BTNTreant.blp
Quest - Enable (Last created quest)
Quest - Flash the quest dialog button
Wait 120.00 seconds
Quest - Display to (All players) the Hint message: To stop constant attacks from the nature. Destroy both trees of life, which are safe behind the stone doors and heavely guarded.
Quest - Flash the quest dialog button
Game - Set game speed to Slowest
Wait 30.00 seconds
Game - Set game speed to Normal
Environment - Turn (Last created weather effect) On
M
Events
Time - Elapsed game time is 5 seconds
Conditions
Actions
T1
Events
Time - Every 280.00 seconds of game time
Conditions
(Tree of Eternity 0271 <gen> is A structure) Equal to (Region_004 <gen> contains Tree of Eternity 0271 <gen>)
(Tree of Eternity 0294 <gen> is A structure) Equal to (Region_005 <gen> contains Tree of Eternity 0294 <gen>)
Actions
Trigger - Run T2 <gen> (checking conditions)
T2
Events
Conditions
Actions
Wait 2 seconds
Quest - Display to (All players) the Warning message: The Forse of Nature is Unleashed.
Special Effect - Create a special effect at (Center of Region_000 <gen>) using Abilities\Spells\NightElf\Taunt\TauntCaster.mdl
Special Effect - Create a special effect at (Center of Region_003 <gen>) using Abilities\Spells\NightElf\Taunt\TauntCaster.mdl
Special Effect - Create a special effect at (Center of Region_002 <gen>) using Abilities\Spells\NightElf\Taunt\TauntCaster.mdl
Special Effect - Create a special effect at (Center of Region_001 <gen>) using Abilities\Spells\NightElf\Taunt\TauntCaster.mdl
Wait 1.00 seconds
Special Effect - Create a special effect at (Center of Region_002 <gen>) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
Special Effect - Create a special effect at (Center of Region_003 <gen>) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
Special Effect - Create a special effect at (Center of Region_000 <gen>) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
Special Effect - Create a special effect at (Center of Region_001 <gen>) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
Wait 1.00 seconds
Special Effect - Create a special effect at (Center of Region_000 <gen>) using Abilities\Spells\NightElf\Taunt\TauntCaster.mdl
Special Effect - Create a special effect at (Center of Region_003 <gen>) using Abilities\Spells\NightElf\Taunt\TauntCaster.mdl
Special Effect - Create a special effect at (Center of Region_002 <gen>) using Abilities\Spells\NightElf\Taunt\TauntCaster.mdl
Special Effect - Create a special effect at (Center of Region_001 <gen>) using Abilities\Spells\NightElf\Taunt\TauntCaster.mdl
Wait 1.00 seconds
Special Effect - Create a special effect at (Center of Region_000 <gen>) using Abilities\Spells\NightElf\Taunt\TauntCaster.mdl
Special Effect - Create a special effect at (Center of Region_003 <gen>) using Abilities\Spells\NightElf\Taunt\TauntCaster.mdl
Special Effect - Create a special effect at (Center of Region_002 <gen>) using Abilities\Spells\NightElf\Taunt\TauntCaster.mdl
Special Effect - Create a special effect at (Center of Region_001 <gen>) using Abilities\Spells\NightElf\Taunt\TauntCaster.mdl
Wait 1.00 seconds
Special Effect - Create a special effect at (Center of Region_000 <gen>) using Abilities\Spells\NightElf\Taunt\TauntCaster.mdl
Special Effect - Create a special effect at (Center of Region_003 <gen>) using Abilities\Spells\NightElf\Taunt\TauntCaster.mdl
Special Effect - Create a special effect at (Center of Region_002 <gen>) using Abilities\Spells\NightElf\Taunt\TauntCaster.mdl
Special Effect - Create a special effect at (Center of Region_001 <gen>) using Abilities\Spells\NightElf\Taunt\TauntCaster.mdl
Wait 1.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Then - Actions
Unit - Create 4 . Treant for Player 11 (Dark Green) at (Center of Region_001 <gen>) facing Default building facing degrees
Unit - Create 2 . Dryad for Player 11 (Dark Green) at (Center of Region_001 <gen>) facing Default building facing degrees
Unit - Create 1 . Furbolg Champion for Player 11 (Dark Green) at (Center of Region_001 <gen>) facing Default building facing degrees
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Then - Actions
Unit - Create 4 . Treant for Player 11 (Dark Green) at (Center of Region_003 <gen>) facing Default building facing degrees
Unit - Create 2 . Dryad for Player 11 (Dark Green) at (Center of Region_003 <gen>) facing Default building facing degrees
Unit - Create 1 . Dark Troll Warlord for Player 11 (Dark Green) at (Center of Region_003 <gen>) facing Default building facing degrees
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Then - Actions
Unit - Create 4 . Treant for Player 11 (Dark Green) at (Center of Region_002 <gen>) facing Default building facing degrees
Unit - Create 2 . Dryad for Player 11 (Dark Green) at (Center of Region_002 <gen>) facing Default building facing degrees
Unit - Create 1 . Furbolg Champion for Player 11 (Dark Green) at (Center of Region_002 <gen>) facing Default building facing degrees
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Then - Actions
Unit - Create 4 . Treant for Player 11 (Dark Green) at (Center of Region_000 <gen>) facing Default building facing degrees
Unit - Create 2 . Dryad for Player 11 (Dark Green) at (Center of Region_000 <gen>) facing Default building facing degrees
Unit - Create 1 . Dark Troll Warlord for Player 11 (Dark Green) at (Center of Region_000 <gen>) facing Default building facing degrees
Else - Actions
Do nothing
Wait 0.30 seconds
Special Effect - Create a special effect at (Center of Region_002 <gen>) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
Special Effect - Create a special effect at (Center of Region_003 <gen>) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
Special Effect - Create a special effect at (Center of Region_000 <gen>) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
Special Effect - Create a special effect at (Center of Region_001 <gen>) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
RRR
Events
Unit - A unit enters Region_002 <gen>
Conditions
(Tree of Eternity 0271 <gen> is A structure) Equal to (Region_004 <gen> contains Tree of Eternity 0271 <gen>)
(Tree of Eternity 0294 <gen> is A structure) Equal to (Region_005 <gen> contains Tree of Eternity 0294 <gen>)
Actions
Unit Group - Order (Units in Region_001 <gen>) to Attack-Move To . (Center of Region_030 <gen>)
Unit Group - Order (Units in Region_003 <gen>) to Attack-Move To . (Center of Region_031 <gen>)
Unit Group - Order (Units in Region_000 <gen>) to Attack-Move To . (Center of Region_032 <gen>)
Unit Group - Order (Units in Region_002 <gen>) to Attack-Move To . (Center of Region_033 <gen>)
Untitled Trigger 001
Events
Unit - Tree of Eternity 0271 <gen> Dies
Unit - Tree of Eternity 0294 <gen> Dies
Conditions
((Tree of Eternity 0271 <gen> is dead) Equal to True) and ((Tree of Eternity 0294 <gen> is dead) Equal to True)
Actions
Trigger - Turn off T1 <gen>
open
Events
Unit - Keeper of the Grove 0433 <gen> Dies
Conditions
Actions
Destructible - Open Rolling Stone Door 4889 <gen>
Destructible - Open Rolling Stone Door 5438 <gen>
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility from (Center of Region_005 <gen>) to a radius of 512 .
Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility from (Center of Region_005 <gen>) to a radius of 512 .
Visibility - Create an initially Enabled visibility modifier for Player 3 (Teal) emitting Visibility from (Center of Region_005 <gen>) to a radius of 512 .
Visibility - Create an initially Enabled visibility modifier for Player 4 (Purple) emitting Visibility from (Center of Region_005 <gen>) to a radius of 512 .
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility from (Center of Region_004 <gen>) to a radius of 512 .
Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility from (Center of Region_004 <gen>) to a radius of 512 .
Visibility - Create an initially Enabled visibility modifier for Player 3 (Teal) emitting Visibility from (Center of Region_004 <gen>) to a radius of 512 .
Visibility - Create an initially Enabled visibility modifier for Player 4 (Purple) emitting Visibility from (Center of Region_004 <gen>) to a radius of 512 .
Quest - Display to (All players) the Hint message: The Gates are open!
Untitled Trigger 002
Events
Time - Every 60.00 seconds of game time
Conditions
Actions
Unit - Create 1 . Archer for Player 7 (Green) at (Random point in (Playable map area)) facing Default building facing degrees
Unit - Create 1 . Spider for Player 7 (Green) at (Random point in (Playable map area)) facing Default building facing degrees
Unit - Create 1 . Satyr for Player 7 (Green) at (Random point in (Playable map area)) facing Default building facing degrees
Unit - Create 1 . Treant for Player 7 (Green) at (Random point in (Playable map area)) facing Default building facing degrees
Untitled Trigger 002 Copy
Events
Time - Every 240.00 seconds of game time
Conditions
Actions
Unit - Create 1 . Hippogryph Rider for Player 7 (Green) at (Random point in (Playable map area)) facing Default building facing degrees
oty
Events
Time - Elapsed game time is 360.00 seconds
Conditions
Actions
Melee Game - Run melee AI scripts (for computer players)
Melee Game - Enforce victory/defeat conditions (for all players)
p11
Events
Unit - A unit enters 123 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Trigger - Turn off (This trigger)
Unit - Create 1 . Heretic for Player 1 (Red) at (Center of 123 <gen>) facing Default building facing degrees
Unit - Create 3 . Enforcer for Player 1 (Red) at (Random point in 123 <gen>) facing Default building facing degrees
p12
Events
Unit - A unit enters 1233 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Trigger - Turn off (This trigger)
Unit - Create 1 . Heretic for Player 1 (Red) at (Center of 1233 <gen>) facing Default building facing degrees
Unit - Create 3 . Enforcer for Player 1 (Red) at (Random point in 1233 <gen>) facing Default building facing degrees
p13
Events
Unit - A unit enters 12333 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Trigger - Turn off (This trigger)
Unit - Create 1 . Heretic for Player 1 (Red) at (Center of 12333 <gen>) facing Default building facing degrees
Unit - Create 3 . Enforcer for Player 1 (Red) at (Random point in 12333 <gen>) facing Default building facing degrees
p14
Events
Unit - A unit enters 123333 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Trigger - Turn off (This trigger)
Unit - Create 1 . Heretic for Player 1 (Red) at (Center of 123333 <gen>) facing Default building facing degrees
Unit - Create 3 . Enforcer for Player 1 (Red) at (Random point in 123333 <gen>) facing Default building facing degrees
p21
Events
Unit - A unit enters 123 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Trigger - Turn off (This trigger)
Unit - Create 1 . Heretic for Player 2 (Blue) at (Center of 123 <gen>) facing Default building facing degrees
Unit - Create 3 . Enforcer for Player 2 (Blue) at (Random point in 123 <gen>) facing Default building facing degrees
p22
Events
Unit - A unit enters 1233 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Trigger - Turn off (This trigger)
Unit - Create 1 . Heretic for Player 2 (Blue) at (Center of 1233 <gen>) facing Default building facing degrees
Unit - Create 3 . Enforcer for Player 2 (Blue) at (Random point in 1233 <gen>) facing Default building facing degrees
p23
Events
Unit - A unit enters 12333 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Trigger - Turn off (This trigger)
Unit - Create 1 . Heretic for Player 2 (Blue) at (Center of 12333 <gen>) facing Default building facing degrees
Unit - Create 3 . Enforcer for Player 2 (Blue) at (Random point in 12333 <gen>) facing Default building facing degrees
p24
Events
Unit - A unit enters 123333 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Trigger - Turn off (This trigger)
Unit - Create 1 . Heretic for Player 2 (Blue) at (Center of 123333 <gen>) facing Default building facing degrees
Unit - Create 3 . Enforcer for Player 2 (Blue) at (Random point in 123333 <gen>) facing Default building facing degrees
p31
Events
Unit - A unit enters 123 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 3 (Teal)
Actions
Trigger - Turn off (This trigger)
Unit - Create 1 . Heretic for Player 3 (Teal) at (Center of 123 <gen>) facing Default building facing degrees
Unit - Create 3 . Enforcer for Player 3 (Teal) at (Random point in 123 <gen>) facing Default building facing degrees
p32
Events
Unit - A unit enters 1233 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 3 (Teal)
Actions
Trigger - Turn off (This trigger)
Unit - Create 1 . Heretic for Player 3 (Teal) at (Center of 1233 <gen>) facing Default building facing degrees
Unit - Create 3 . Enforcer for Player 3 (Teal) at (Random point in 1233 <gen>) facing Default building facing degrees
p33
Events
Unit - A unit enters 12333 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 3 (Teal)
Actions
Trigger - Turn off (This trigger)
Unit - Create 1 . Heretic for Player 3 (Teal) at (Center of 12333 <gen>) facing Default building facing degrees
Unit - Create 3 . Enforcer for Player 3 (Teal) at (Random point in 12333 <gen>) facing Default building facing degrees
p34
Events
Unit - A unit enters 123333 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 3 (Teal)
Actions
Trigger - Turn off (This trigger)
Unit - Create 1 . Heretic for Player 3 (Teal) at (Center of 123333 <gen>) facing Default building facing degrees
Unit - Create 3 . Enforcer for Player 3 (Teal) at (Random point in 123333 <gen>) facing Default building facing degrees
p41
Events
Unit - A unit enters 123 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
Actions
Trigger - Turn off (This trigger)
Unit - Create 1 . Heretic for Player 4 (Purple) at (Center of 123 <gen>) facing Default building facing degrees
Unit - Create 3 . Enforcer for Player 4 (Purple) at (Random point in 123 <gen>) facing Default building facing degrees
p42py
Events
Unit - A unit enters 1233 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
Actions
Trigger - Turn off (This trigger)
Unit - Create 1 . Heretic for Player 4 (Purple) at (Center of 1233 <gen>) facing Default building facing degrees
Unit - Create 3 . Enforcer for Player 4 (Purple) at (Random point in 1233 <gen>) facing Default building facing degrees
p43
Events
Unit - A unit enters 12333 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
Actions
Trigger - Turn off (This trigger)
Unit - Create 1 . Heretic for Player 4 (Purple) at (Center of 12333 <gen>) facing Default building facing degrees
Unit - Create 3 . Enforcer for Player 4 (Purple) at (Random point in 12333 <gen>) facing Default building facing degrees
p44
Events
Unit - A unit enters 123333 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
Actions
Trigger - Turn off (This trigger)
Unit - Create 1 . Heretic for Player 4 (Purple) at (Center of 123333 <gen>) facing Default building facing degrees
Unit - Create 3 . Enforcer for Player 4 (Purple) at (Random point in 123333 <gen>) facing Default building facing degrees
s
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 1 (Red) controller) Equal to Computer
Then - Actions
Unit - Create 3 . Dark Troll Berserker for Player 1 (Red) at (Player 1 (Red) start location) facing Default building facing degrees
Else - Actions
Do nothing
s Copy
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 2 (Blue) controller) Equal to Computer
Then - Actions
Unit - Create 3 . Dark Troll Berserker for Player 2 (Blue) at (Player 2 (Blue) start location) facing Default building facing degrees
Else - Actions
Do nothing
s Copy 2
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 3 (Teal) controller) Equal to Computer
Then - Actions
Unit - Create 3 . Dark Troll Berserker for Player 3 (Teal) at (Player 3 (Teal) start location) facing Default building facing degrees
Else - Actions
Do nothing
s Copy 3
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 4 (Purple) controller) Equal to Computer
Then - Actions
Unit - Create 3 . Dark Troll Berserker for Player 4 (Purple) at (Player 4 (Purple) start location) 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.