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
AoS-StrongHolds.w3x
Variables
Initialization
Melee Initialization
Messages
Objective Message
Stronghold
EnterUndeadStronghold
EnterHumanStronghold
Victory
UndeadVictory
HumanVictory
ItemOfPower
ItemPowerUndead
ItemPowerHuman
ItemPowerUndeadReturn
ItemPowerHumanReturn
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
Timer
timer
No
Timer2
timer
No
TimerWindow
timerdialog
No
TimerWindow2
timerdialog
No
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
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 - Run melee AI scripts (for computer players)
Objective Message
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Actions
Game - Display to (All players) for 30.00 seconds the text: Build up your base, Attack the foe's, Enter their Stronghold (the path in front of their "Town Hall" Leads to it.) and capture their Item of Power. Hold this item for 5 minutes without dying and you will win. If you die while holding the item of power, try again. NOTE: Strongholds do not respawn. Only the items do.
EnterUndeadStronghold
Events
Unit - A unit enters TransportToStrongUndead <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Move (Triggering unit) instantly to (Center of EnterHuman <gen>)
EnterHumanStronghold
Events
Unit - A unit enters TransportToStrongHuman <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Move (Triggering unit) instantly to (Center of EnterUndead <gen>)
UndeadVictory
Events
Time - Timer expires
Conditions
Actions
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
HumanVictory
Events
Time - Timer2 expires
Conditions
Actions
Game - Victory Player 2 (Blue) ( Show dialogs, Show scores)
ItemPowerUndead
Events
Unit - A unit owned by Player 1 (Red) . Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Eye of Naxxrammas
Actions
Countdown Timer - Start Timer as a One-shot timer that will expire in 300.00 seconds
Set Variable Set Timer = (Last started timer)
Countdown Timer - Create a timer window for Timer with title Item Of Power
Set Variable Set TimerWindow = (Last created timer window)
Unit Group - Pick every unit in (Units in LeaveUndead <gen>) and do (Actions)
Loop - Actions
If ((Owner of (Picked unit)) Equal to Player 1 (Red)) then do (Move (Picked unit) instantly to (Center of LeaveUndeadEnd <gen>)) else do (Do nothing)
ItemPowerHuman
Events
Unit - A unit owned by Player 2 (Blue) . Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to King Terenas' Urn
Actions
Countdown Timer - Start Timer2 as a One-shot timer that will expire in 300.00 seconds
Set Variable Set Timer2 = (Last started timer)
Countdown Timer - Create a timer window for Timer2 with title Item Of Power
Set Variable Set TimerWindow2 = (Last created timer window)
Unit Group - Pick every unit in (Units in LeaveHuman <gen>) and do (Actions)
Loop - Actions
If ((Owner of (Picked unit)) Equal to Player 2 (Blue)) then do (Move (Picked unit) instantly to (Center of LeaveHumanEnd <gen>)) else do (Do nothing)
ItemPowerUndeadReturn
Events
Unit - A unit Loses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Eye of Naxxrammas
Actions
Item - Remove (Item being manipulated)
Item - Create Eye of Naxxrammas at (Center of CreateNaEye <gen>)
Countdown Timer - Destroy TimerWindow
Countdown Timer - Pause Timer
ItemPowerHumanReturn
Events
Unit - A unit Loses an item
Conditions
(Item-type of (Item being manipulated)) Equal to King Terenas' Urn
Actions
Item - Remove (Item being manipulated)
Item - Create King Terenas' Urn at (Center of CreateUrn <gen>)
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.