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
The King OF Wars.w3x
Variables
Initialization
m1
Other Triggers
t1
t2
Doors
DoorTriggerDoor1
DoorTriggerDoor2
DoorTriggerDoor3
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
m1
Events
Map initialization
Conditions
Actions
Visibility - Enable black mask
Visibility - Disable fog of war
Melee Game - Set starting resources (for all players)
Melee Game - Run melee AI scripts (for computer players)
Player - Add 600 to Player 1 (Red) . Current lumber
Player - Add 600 to Player 1 (Red) . Current gold
Player - Add 5 to Player 1 (Red) . Food max
t1
Events
Unit - A unit enters Victory_Region <gen>
Conditions
Actions
Quest - Create a Required quest titled |cFF00C0C0Bad King...|r with the description |cFFC0C000You must Save You Captain...|r , using icon path ReplaceableTextures\CommandButtons\BTNFootman.blp
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
t2
Events
Map initialization
Conditions
Actions
Quest - Mark (Last created quest) as Completed
Quest - Display to Player Group - Player 1 (Red) the Quest Update message: |cFF0000FFQuest Gined|r
Game - Display to Player Group - Player 1 (Red) the text: |cFFFF00FFYou must save you captain ...|r
DoorTriggerDoor1
Events
Unit - A unit enters Gate_2 <gen>
Conditions
((Entering unit) has an item of type Ghost Key) Equal to True
Actions
Trigger - Turn off (This trigger)
Item - Remove (Item carried by (Entering unit) of type Ghost Key)
Game - Display to Player Group - Player 1 (Red) for 5.00 seconds the text: The |cFF00C000door|r has been opened by |cFF0000FFPlayer 1|r.
Destructible - Open Elven Gate 0603 <gen>
Sound - Play The_Fields_Of_The_Pelennor <gen>
DoorTriggerDoor2
Events
Unit - A unit enters Gate_2 <gen>
Conditions
((Entering unit) has an item of type Blood Key) Equal to True
Actions
Trigger - Turn off (This trigger)
Item - Remove (Item carried by (Entering unit) of type Blood Key)
Game - Display to Player Group - Player 1 (Red) for 5.00 seconds the text: The |cFF00C000door|r has been opened by |cFF0000FFPlayer 1|r.
Destructible - Open Elven Gate 0603 <gen>
Sound - Play The_Fields_Of_The_Pelennor <gen>
DoorTriggerDoor3
Events
Unit - A unit enters Gate_3 <gen>
Conditions
((Entering unit) has an item of type Sun Key) Equal to True
Actions
Trigger - Turn off (This trigger)
Item - Remove (Item carried by (Entering unit) of type Sun Key)
Game - Display to Player Group - Player 1 (Red) for 5.00 seconds the text: The |cFF00C000door|r has been opened by |cFF0000FFPlayer 1|r.
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.