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
Middle_Earth_Template_01.w3x
Variables
Initialization
Eye Barad Dur
Melee Initialization
Resourcers
max
med
min
test red units
test blue units
test brown units
test Give resources
test night
test day
test ally
Income Spawn
Inithional Resourcs
Income Gray Gondor
Untitled Trigger 001
Capturable Buildings
West Osgiliath capture
Gates, Passages
Open Mordor Gate
Open Pelargir Gate
Open Lothlorien Gate
Open Umbar Gate
Open Isengard Gate
Open HelmsDeep Gate
Close HelmsDeep Gate
Close Isengard Gate
Close Mordor Gate
Open Minas Tirith Gate
Open Minas Morgul Gate
Close Minas Tirith Gate
Close Pelargir Gate
Close Umbar Gate
Close Minas Morgul Gate
Close Lothlorien Gate
Player Leave
evil leave
red harad leave
orange rhun khand leave
brown mordor leave
maroon nazgulr leave
coal isengard leave
good leave
blue gondor kimgdom leave
green rohan leave
gray gondor capital leave
light blue dol amroth leave
not use evil
red harad not use
orange rhun khand not use
brown mordor not use
maroon nazgul not use
coal isengard not use
not use good
blue gondor kingdom not use
green rohan not use
gray gondor not use
light blue dol amroth not use
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 except Custom Script Item. Custom Script Item will merge into map script after globals variables declaration with the list order in trigger view.
Name
Type
is_array
initial_value
Eye Barad Dur
Events
Time - Every 12.00 seconds of game time
Conditions
Actions
Destructible - Hide Barad Dur Eye 0768 <gen>
Destructible - Hide Barad Dur Eye 0769 <gen>
Destructible - Show Barad Dur Eye 0767 <gen>
Wait 2 seconds
Destructible - Show Barad Dur Eye 0768 <gen>
Destructible - Hide Barad Dur Eye 0767 <gen>
Destructible - Hide Barad Dur Eye 0769 <gen>
Wait 1.00 seconds
Destructible - Hide Barad Dur Eye 0768 <gen>
Destructible - Hide Barad Dur Eye 0767 <gen>
Destructible - Show Barad Dur Eye 0769 <gen>
Default melee game initialization for all players
Melee Initialization
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Hero - Make Player 1 (Red) Heroes gain 25.00 % experience from future kills
Melee Game - Use melee time of day (for all players)
Trigger - Run Resourcers <gen> (checking conditions)
Trigger - Run Resourcers <gen> (checking conditions)
Trigger - Run Resourcers <gen> (checking conditions)
Trigger - Run Resourcers <gen> (checking conditions)
Trigger - Run Resourcers <gen> (checking conditions)
Camera - . Apply without panning . gg_cam_med for Player 1 (Red) over 1.00 seconds
Camera - . Apply without panning . gg_cam_med for Player 2 (Blue) over 1.00 seconds
Camera - . Apply without panning . gg_cam_med for Player 6 (Orange) over 1.00 seconds
Camera - . Apply without panning . gg_cam_med for Player 7 (Green) over 1.00 seconds
Camera - . Apply without panning . gg_cam_med for Player 9 (Gray) over 1.00 seconds
Camera - . Apply without panning . gg_cam_med for Player 10 (Light Blue) over 1.00 seconds
Camera - . Apply without panning . gg_cam_med for Player 12 (Brown) over 1.00 seconds
Camera - . Apply without panning . gg_cam_med for Player 13 (Maroon) over 1.00 seconds
Camera - . Apply without panning . gg_cam_med for Player 21 (Coal) over 1.00 seconds
Quest - Display to (All players) the Simple Hint message: -max, -med, -mid - for camera options
Destructible - Hide Barad Dur Eye 0767 <gen>
Destructible - Hide Barad Dur Eye 0769 <gen>
Animation - Play Statue Gondor 0112 <gen> 's death alternate animation
Visibility - Disable black mask
Visibility - Disable fog of war
Visibility - Enable fog of war
Wait 1.00 seconds
Unit - Replace Gate 0091 <gen> with a Gate opened Minas Morgul using The old unit's relative life and mana
Animation - Play (Last replaced unit) 's death alternate animation
Unit - Replace Gate 0177 <gen> with a Gate opened Minas Tirith using The old unit's relative life and mana
Animation - Play (Last replaced unit) 's death alternate animation
Unit - Replace Gate 0012 <gen> with a Gate opened Minas Tirith using The old unit's relative life and mana
Animation - Play (Last replaced unit) 's death alternate animation
Unit - Replace Gate 0004 <gen> with a Gate opened Minas Tirith using The old unit's relative life and mana
Animation - Play (Last replaced unit) 's death alternate animation
Unit - Replace Gate 0003 <gen> with a Gate opened Edoras using The old unit's relative life and mana
Animation - Play (Last replaced unit) 's death alternate animation
Unit - Replace Gate 0225 <gen> with a Gate opened Hellms Deep using The old unit's relative life and mana
Animation - Play (Last replaced unit) 's death alternate animation
Unit - Replace Gate 0000 <gen> with a Gate opened Isengard using The old unit's relative life and mana
Animation - Play (Last replaced unit) 's death alternate animation
Resourcers
Events
Conditions
Actions
Player - Add 100 to Player 1 (Red) . Current gold
Player - Add 25 to Player 1 (Red) . Current lumber
Player - Add 100 to Player 2 (Blue) . Current gold
Player - Add 25 to Player 2 (Blue) . Current lumber
Player - Add 100 to Player 6 (Orange) . Current gold
Player - Add 25 to Player 6 (Orange) . Current lumber
Player - Add 100 to Player 7 (Green) . Current gold
Player - Add 25 to Player 7 (Green) . Current lumber
Player - Add 100 to Player 9 (Gray) . Current gold
Player - Add 25 to Player 9 (Gray) . Current lumber
Player - Add 100 to Player 10 (Light Blue) . Current gold
Player - Add 25 to Player 10 (Light Blue) . Current lumber
Player - Add 100 to Player 12 (Brown) . Current gold
Player - Add 25 to Player 12 (Brown) . Current lumber
Player - Add 100 to Player 13 (Maroon) . Current gold
Player - Add 25 to Player 13 (Maroon) . Current lumber
Player - Add 100 to Player 21 (Coal) . Current gold
Player - Add 25 to Player 21 (Coal) . Current lumber
max
Events
Player - Player 1 (Red) types a chat message containing -max (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing -max (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing -max (Unexpected type: 'stringnoformat') as An exact match
Player - Player 7 (Green) types a chat message containing -max (Unexpected type: 'stringnoformat') as An exact match
Player - Player 9 (Gray) types a chat message containing -max (Unexpected type: 'stringnoformat') as An exact match
Player - Player 10 (Light Blue) types a chat message containing -max (Unexpected type: 'stringnoformat') as An exact match
Player - Player 12 (Brown) types a chat message containing -max (Unexpected type: 'stringnoformat') as An exact match
Player - Player 13 (Maroon) types a chat message containing -max (Unexpected type: 'stringnoformat') as An exact match
Player - Player 21 (Coal) types a chat message containing -max (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Camera - . Apply without panning . gg_cam_max for (Triggering player) over 1.00 seconds
med
Events
Player - Player 1 (Red) types a chat message containing -med (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing -med (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing -med (Unexpected type: 'stringnoformat') as An exact match
Player - Player 7 (Green) types a chat message containing -med (Unexpected type: 'stringnoformat') as An exact match
Player - Player 9 (Gray) types a chat message containing -med (Unexpected type: 'stringnoformat') as An exact match
Player - Player 10 (Light Blue) types a chat message containing -med (Unexpected type: 'stringnoformat') as An exact match
Player - Player 12 (Brown) types a chat message containing -med (Unexpected type: 'stringnoformat') as An exact match
Player - Player 13 (Maroon) types a chat message containing -med (Unexpected type: 'stringnoformat') as An exact match
Player - Player 21 (Coal) types a chat message containing -med (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Camera - . Apply without panning . gg_cam_med for (Triggering player) over 1.00 seconds
min
Events
Player - Player 1 (Red) types a chat message containing -min (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing -min (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing -min (Unexpected type: 'stringnoformat') as An exact match
Player - Player 7 (Green) types a chat message containing -min (Unexpected type: 'stringnoformat') as An exact match
Player - Player 9 (Gray) types a chat message containing -min (Unexpected type: 'stringnoformat') as An exact match
Player - Player 10 (Light Blue) types a chat message containing -min (Unexpected type: 'stringnoformat') as An exact match
Player - Player 12 (Brown) types a chat message containing -min (Unexpected type: 'stringnoformat') as An exact match
Player - Player 13 (Maroon) types a chat message containing -min (Unexpected type: 'stringnoformat') as An exact match
Player - Player 21 (Coal) types a chat message containing -min (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Camera - . Apply without panning . gg_cam_min for (Triggering player) over 1.00 seconds
test red units
Events
Player - Player 1 (Red) types a chat message containing a (Unexpected type: 'stringnoformat') as An exact match
Conditions
(Player 2 (Blue) slot status) Equal to Is unused
Actions
Unit - Create 6 . Footman for Player 1 (Red) at (Target of current camera view) facing Default building facing degrees
Unit - Create 6 . Archer for Player 1 (Red) at (Target of current camera view) facing Default building facing degrees
Unit - Create 6 . Knight for Player 1 (Red) at (Target of current camera view) facing Default building facing degrees
Unit - Create 2 . Demolisher for Player 1 (Red) at (Target of current camera view) facing Default building facing degrees
Unit - Create 2 . Mountain Giant for Player 1 (Red) at (Target of current camera view) facing Default building facing degrees
test blue units
Events
Player - Player 1 (Red) types a chat message containing a1 (Unexpected type: 'stringnoformat') as An exact match
Conditions
(Player 2 (Blue) slot status) Equal to Is unused
Actions
Unit - Create 1 . Peasant Gondor (Blue) for Player 2 (Blue) at (Target of current camera view) facing Default building facing degrees
Unit - Create 12 . Swordsman of Gondor (Blue) for Player 2 (Blue) at (Target of current camera view) facing Default building facing degrees
Unit - Create 12 . Archier of Gondor (Blue) for Player 2 (Blue) at (Target of current camera view) facing Default building facing degrees
test brown units
Events
Player - Player 1 (Red) types a chat message containing a2 (Unexpected type: 'stringnoformat') as An exact match
Conditions
(Player 2 (Blue) slot status) Equal to Is unused
Actions
Unit - Create 12 . Swordsman of Gondor (Gray) for Player 12 (Brown) at (Target of current camera view) facing Default building facing degrees
Unit - Create 12 . Archier of Gondor (Gray) for Player 12 (Brown) at (Target of current camera view) facing Default building facing degrees
test Give resources
Events
Player - Player 1 (Red) types a chat message containing -g (Unexpected type: 'stringnoformat') as An exact match
Conditions
(Player 2 (Blue) slot status) Equal to Is unused
Actions
Trigger - Run Resourcers <gen> (checking conditions)
test night
Events
Player - Player 1 (Red) types a chat message containing d (Unexpected type: 'stringnoformat') as An exact match
Conditions
(Player 2 (Blue) slot status) Equal to Is unused
Actions
Game - Set the time of day to 10.00
test day
Events
Player - Player 1 (Red) types a chat message containing n (Unexpected type: 'stringnoformat') as An exact match
Conditions
(Player 2 (Blue) slot status) Equal to Is unused
Actions
Game - Set the time of day to 22.00
test ally
Events
Player - Player 1 (Red) types a chat message containing -a (Unexpected type: 'stringnoformat') as An exact match
Conditions
(Player 2 (Blue) slot status) Equal to Is unused
(Player 9 (Gray) slot status) Equal to Is unused
Actions
Player - For Player 2 (Blue) , turn Shared vision On toward Player 1 (Red)
Player - For Player 2 (Blue) , turn Shared units On toward Player 1 (Red)
Player - For Player 10 (Light Blue) , turn Shared vision On toward Player 1 (Red)
Player - For Player 10 (Light Blue) , turn Shared units On toward Player 1 (Red)
Player - For Player 7 (Green) , turn Shared vision On toward Player 1 (Red)
Player - For Player 7 (Green) , turn Shared units On toward Player 1 (Red)
Player - For Player 9 (Gray) , turn Shared vision On toward Player 1 (Red)
Player - For Player 1 (Red) , turn Full shared units On toward Player 9 (Gray)
Player - For Player 9 (Gray) , turn Shared units On toward Player 1 (Red)
Inithional Resourcs
Events
Conditions
Actions
Untitled Trigger 001
Events
Time - Every 5.00 seconds of game time
Conditions
( is alive) Equal to True
Actions
Player - Add 1 to (Owner of ) . Current gold
West Osgiliath capture
Events
Unit - Is attacked
Conditions
(Life of (Triggering unit)) Less than or equal to 500.00
Actions
Unit - Change ownership of to (Owner of (Attacking unit)) and Change color
Unit - Set life of to 100 %
Game - Display to (All allies of (Owner of ).) the text: West Osgiliath is under your control !
Open Mordor Gate
Events
Unit - A unit Finishes casting an ability
Conditions
(Unit-type of (Triggering unit)) Equal to Gate closed Black Gates
Actions
Unit - Replace (Triggering unit) with a Gate opened Black Gates using The old unit's relative life and mana
Animation - Play (Last replaced unit) 's death alternate animation
Open Pelargir Gate
Events
Unit - A unit Finishes casting an ability
Conditions
(Unit-type of (Triggering unit)) Equal to Gate closed Pelargir
Actions
Unit - Replace (Triggering unit) with a Gate opened Pelargir using The old unit's relative life and mana
Animation - Play (Last replaced unit) 's death alternate animation
Open Lothlorien Gate
Events
Unit - A unit Finishes casting an ability
Conditions
(Unit-type of (Triggering unit)) Equal to Gate closed Lothlorien
Actions
Unit - Replace (Triggering unit) with a Gate opened Lothlorien using The old unit's relative life and mana
Animation - Play (Last replaced unit) 's death alternate animation
Open Umbar Gate
Events
Unit - A unit Finishes casting an ability
Conditions
(Unit-type of (Triggering unit)) Equal to Gate closed Edoras
Actions
Unit - Replace (Triggering unit) with a Gate opened Edoras using The old unit's relative life and mana
Animation - Play (Last replaced unit) 's death alternate animation
Open Isengard Gate
Events
Unit - A unit Finishes casting an ability
Conditions
(Unit-type of (Triggering unit)) Equal to Gate closed Isengard
Actions
Unit - Replace (Triggering unit) with a Gate opened Isengard using The old unit's relative life and mana
Animation - Play (Last replaced unit) 's death alternate animation
Open HelmsDeep Gate
Events
Unit - A unit Finishes casting an ability
Conditions
(Unit-type of (Triggering unit)) Equal to Gate closed Hellms Deep
Actions
Unit - Replace (Triggering unit) with a Gate opened Hellms Deep using The old unit's relative life and mana
Animation - Play (Last replaced unit) 's death alternate animation
Close HelmsDeep Gate
Events
Unit - A unit Finishes casting an ability
Conditions
(Unit-type of (Triggering unit)) Equal to Gate opened Hellms Deep
Actions
Unit - Replace (Triggering unit) with a Gate closed Hellms Deep using The old unit's relative life and mana
Close Isengard Gate
Events
Unit - A unit Finishes casting an ability
Conditions
(Unit-type of (Triggering unit)) Equal to Gate opened Isengard
Actions
Unit - Replace (Triggering unit) with a Gate closed Isengard using The old unit's relative life and mana
Close Mordor Gate
Events
Unit - A unit Finishes casting an ability
Conditions
(Unit-type of (Triggering unit)) Equal to Gate opened Black Gates
Actions
Unit - Replace (Triggering unit) with a Gate closed Black Gates using The old unit's relative life and mana
Animation - Play (Triggering unit) 's death animation
Open Minas Tirith Gate
Events
Unit - A unit Finishes casting an ability
Conditions
(Unit-type of (Triggering unit)) Equal to Gate closed Minast Tirith
Actions
Unit - Replace (Triggering unit) with a Gate opened Minas Tirith using The old unit's relative life and mana
Animation - Play (Last replaced unit) 's death alternate animation
Open Minas Morgul Gate
Events
Unit - A unit Finishes casting an ability
Conditions
(Unit-type of (Triggering unit)) Equal to Gate closed Minast Morgul
Actions
Unit - Replace (Triggering unit) with a Gate opened Minas Morgul using The old unit's relative life and mana
Animation - Play (Last replaced unit) 's death alternate animation
Close Minas Tirith Gate
Events
Unit - A unit Finishes casting an ability
Conditions
(Unit-type of (Triggering unit)) Equal to Gate opened Minas Tirith
Actions
Unit - Replace (Triggering unit) with a Gate closed Minast Tirith using The old unit's relative life and mana
Close Pelargir Gate
Events
Unit - A unit Finishes casting an ability
Conditions
(Unit-type of (Triggering unit)) Equal to Gate opened Pelargir
Actions
Unit - Replace (Triggering unit) with a Gate closed Pelargir using The old unit's relative life and mana
Close Umbar Gate
Events
Unit - A unit Finishes casting an ability
Conditions
(Unit-type of (Triggering unit)) Equal to Gate opened Edoras
Actions
Unit - Replace (Triggering unit) with a Gate closed Edoras using The old unit's relative life and mana
Close Minas Morgul Gate
Events
Unit - A unit Finishes casting an ability
Conditions
(Unit-type of (Triggering unit)) Equal to Gate opened Minas Morgul
Actions
Unit - Replace (Triggering unit) with a Gate closed Minast Morgul using The old unit's relative life and mana
Close Lothlorien Gate
Events
Unit - A unit Finishes casting an ability
Conditions
(Unit-type of (Triggering unit)) Equal to Gate opened Lothlorien
Actions
Unit - Replace (Triggering unit) with a Gate closed Lothlorien using The old unit's relative life and mana
red harad leave
Events
Player - Player 1 (Red) leaves the game
Conditions
Actions
Game - Grant shared vision and full shared unit control of Player 1 (Red) units with his/her allies
orange rhun khand leave
Events
Player - Player 6 (Orange) leaves the game
Conditions
Actions
Game - Grant shared vision and full shared unit control of Player 6 (Orange) units with his/her allies
brown mordor leave
Events
Player - Player 12 (Brown) leaves the game
Conditions
Actions
Game - Grant shared vision and full shared unit control of Player 12 (Brown) units with his/her allies
maroon nazgulr leave
Events
Player - Player 13 (Maroon) leaves the game
Conditions
Actions
Game - Grant shared vision and full shared unit control of Player 13 (Maroon) units with his/her allies
coal isengard leave
Events
Player - Player 21 (Coal) leaves the game
Conditions
Actions
Game - Grant shared vision and full shared unit control of Player 21 (Coal) units with his/her allies
blue gondor kimgdom leave
Events
Player - Player 2 (Blue) leaves the game
Conditions
Actions
Game - Grant shared vision and full shared unit control of Player 2 (Blue) units with his/her allies
green rohan leave
Events
Player - Player 7 (Green) leaves the game
Conditions
Actions
Game - Grant shared vision and full shared unit control of Player 7 (Green) units with his/her allies
gray gondor capital leave
Events
Player - Player 9 (Gray) leaves the game
Conditions
Actions
Game - Grant shared vision and full shared unit control of Player 9 (Gray) units with his/her allies
light blue dol amroth leave
Events
Player - Player 10 (Light Blue) leaves the game
Conditions
Actions
Game - Grant shared vision and full shared unit control of Player 10 (Light Blue) units with his/her allies
red harad not use
Events
Time - Elapsed game time is 5 seconds
Conditions
(Player 1 (Red) slot status) Equal to Is unused
Actions
Game - Grant shared vision and full shared unit control of Player 1 (Red) units with his/her allies
orange rhun khand not use
Events
Time - Elapsed game time is 5 seconds
Conditions
(Player 6 (Orange) slot status) Equal to Is unused
Actions
Game - Grant shared vision and full shared unit control of Player 6 (Orange) units with his/her allies
brown mordor not use
Events
Time - Elapsed game time is 5 seconds
Conditions
(Player 12 (Brown) slot status) Equal to Is unused
Actions
Game - Grant shared vision and full shared unit control of Player 12 (Brown) units with his/her allies
maroon nazgul not use
Events
Time - Elapsed game time is 5 seconds
Conditions
(Player 13 (Maroon) slot status) Equal to Is unused
Actions
Game - Grant shared vision and full shared unit control of Player 13 (Maroon) units with his/her allies
coal isengard not use
Events
Time - Elapsed game time is 5 seconds
Conditions
(Player 21 (Coal) slot status) Equal to Is unused
Actions
Game - Grant shared vision and full shared unit control of Player 21 (Coal) units with his/her allies
blue gondor kingdom not use
Events
Time - Elapsed game time is 5 seconds
Conditions
(Player 2 (Blue) slot status) Equal to Is unused
Actions
Game - Grant shared vision and full shared unit control of Player 2 (Blue) units with his/her allies
green rohan not use
Events
Time - Elapsed game time is 5 seconds
Conditions
(Player 7 (Green) slot status) Equal to Is unused
Actions
Game - Grant shared vision and full shared unit control of Player 7 (Green) units with his/her allies
gray gondor not use
Events
Time - Elapsed game time is 5 seconds
Conditions
(Player 9 (Gray) slot status) Equal to Is unused
Actions
Game - Grant shared vision and full shared unit control of Player 9 (Gray) units with his/her allies
light blue dol amroth not use
Events
Time - Elapsed game time is 5 seconds
Conditions
(Player 10 (Light Blue) slot status) Equal to Is unused
Actions
Game - Grant shared vision and full shared unit control of Player 10 (Light Blue) units with his/her allies
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.