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
(4)ForgedThunder.w3x
Variables
Initialization
Melee Initialization
Teleports
Teleport Player 1
Teleport Player 2
Teleport Player 3
Teleport Player 4
Center Regions
Center Teleport 1
Center Teleport 2
Center Teleport 3
Center Teleport 4
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
Sound - Stop music Immediately
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)
Sound - Play UndeadX1 <gen>
Teleport Player 1
Events
Unit - A unit enters Teleport_Player_1_Enter <gen>
Conditions
(Owner of (Triggering unit)) Not equal to Neutral Hostile
Actions
Unit - Move (Triggering unit) instantly to ((Random point in Teleport_Player_1_Exit <gen>) offset by (0, -100.00))
If (((Triggering unit) is A Hero) Equal to True) then do (Pan camera for (Owner of (Triggering unit)) to (Position of (Triggering unit)) over 1.00 seconds) else do (Do nothing)
Special Effect - Create a special effect at (Center of Teleport_Player_1_Exit <gen>) using Abilities\Spells\Undead\DarkRitual\DarkRitualTarget.mdl
Teleport Player 2
Events
Unit - A unit enters Teleport_Player_2_Enter <gen>
Conditions
(Owner of (Triggering unit)) Not equal to Neutral Hostile
Actions
Unit - Move (Triggering unit) instantly to ((Random point in Teleport_Player_2_Exit <gen>) offset by (-100.00, 0.00))
If (((Triggering unit) is A Hero) Equal to True) then do (Pan camera for (Owner of (Triggering unit)) to (Position of (Triggering unit)) over 1.00 seconds) else do (Do nothing)
Special Effect - Create a special effect at (Center of Teleport_Player_1_Exit <gen>) using Abilities\Spells\Undead\DarkRitual\DarkRitualTarget.mdl
Teleport Player 3
Events
Unit - A unit enters Teleport_Player_3_Enter <gen>
Conditions
(Owner of (Triggering unit)) Not equal to Neutral Hostile
Actions
Unit - Move (Triggering unit) instantly to ((Random point in Teleport_Player_3_Exit <gen>) offset by (0.00, 100.00))
If (((Triggering unit) is A Hero) Equal to True) then do (Pan camera for (Owner of (Triggering unit)) to (Position of (Triggering unit)) over 1.00 seconds) else do (Do nothing)
Special Effect - Create a special effect at (Center of Teleport_Player_1_Exit <gen>) using Abilities\Spells\Undead\DarkRitual\DarkRitualTarget.mdl
Teleport Player 4
Events
Unit - A unit enters Teleport_Player_4_Enter <gen>
Conditions
(Owner of (Triggering unit)) Not equal to Neutral Hostile
Actions
Unit - Move (Triggering unit) instantly to ((Random point in Teleport_Player_4_Exit <gen>) offset by (100.00, 0.00))
If (((Triggering unit) is A Hero) Equal to True) then do (Pan camera for (Owner of (Triggering unit)) to (Position of (Triggering unit)) over 1.00 seconds) else do (Do nothing)
Special Effect - Create a special effect at (Center of Teleport_Player_1_Exit <gen>) using Abilities\Spells\Undead\DarkRitual\DarkRitualTarget.mdl
Center Teleport 1
Events
Unit - A unit enters Teleport_Player_1_Exit <gen>
Conditions
(Owner of (Triggering unit)) Not equal to Neutral Hostile
Actions
Unit - Move (Triggering unit) instantly to (Center of Effect_1 <gen>)
If (((Triggering unit) is A Hero) Equal to True) then do (Pan camera for (Owner of (Triggering unit)) to (Position of (Triggering unit)) over 1.00 seconds) else do (Do nothing)
Special Effect - Create a special effect at (Center of Effect_1 <gen>) using Abilities\Spells\Undead\DarkRitual\DarkRitualTarget.mdl
Wait 10.00 seconds
Destructible - Kill Shimmering Portal 1281 <gen>
Destructible - Kill Shimmering Portal 1282 <gen>
Trigger - Turn off (This trigger)
Center Teleport 2
Events
Unit - A unit enters Teleport_Player_2_Exit <gen>
Conditions
(Owner of (Triggering unit)) Not equal to Neutral Hostile
Actions
Unit - Move (Triggering unit) instantly to (Center of Effect_2 <gen>)
If (((Triggering unit) is A Hero) Equal to True) then do (Pan camera for (Owner of (Triggering unit)) to (Position of (Triggering unit)) over 1.00 seconds) else do (Do nothing)
Special Effect - Create a special effect at (Center of Effect_2 <gen>) using Abilities\Spells\Undead\DarkRitual\DarkRitualTarget.mdl
Wait 10.00 seconds
Destructible - Kill Shimmering Portal 1277 <gen>
Destructible - Kill Shimmering Portal 1278 <gen>
Trigger - Turn off (This trigger)
Center Teleport 3
Events
Unit - A unit enters Teleport_Player_3_Exit <gen>
Conditions
(Owner of (Triggering unit)) Not equal to Neutral Hostile
Actions
Unit - Move (Triggering unit) instantly to (Center of Effect_3 <gen>)
If (((Triggering unit) is A Hero) Equal to True) then do (Pan camera for (Owner of (Triggering unit)) to (Position of (Triggering unit)) over 1.00 seconds) else do (Do nothing)
Special Effect - Create a special effect at (Center of Effect_3 <gen>) using Abilities\Spells\Undead\DarkRitual\DarkRitualTarget.mdl
Wait 10.00 seconds
Destructible - Kill Shimmering Portal 1267 <gen>
Destructible - Kill Shimmering Portal 1268 <gen>
Trigger - Turn off (This trigger)
Center Teleport 4
Events
Unit - A unit enters Teleport_Player_4_Exit <gen>
Conditions
(Owner of (Triggering unit)) Not equal to Neutral Hostile
Actions
Unit - Move (Triggering unit) instantly to (Center of Effect_4 <gen>)
If (((Triggering unit) is A Hero) Equal to True) then do (Pan camera for (Owner of (Triggering unit)) to (Position of (Triggering unit)) over 1.00 seconds) else do (Do nothing)
Special Effect - Create a special effect at (Center of Effect_4 <gen>) using Abilities\Spells\Undead\DarkRitual\DarkRitualTarget.mdl
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.