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
Barrel.w3x
Variables
Initialization
Untitled Trigger 001
Untitled Trigger 002
Untitled Trigger 003
Untitled Trigger 004
Untitled Trigger 005
Untitled Trigger 006
Untitled Category
Untitled Trigger 007
Untitled Category
Untitled Trigger 008
Untitled Category
Untitled Trigger 009
Entrance stuff
Untitled Trigger 010
Untitled Trigger 011
Untitled Trigger 011 Copy
Untitled Trigger 012
Untitled Trigger 013
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
Item
itemcode
No
Lyn
lightning
Yes
Lynstatue
lightning
Yes
Untitled Trigger 001
Events
Map initialization
Conditions
Actions
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Black mask across (Playable map area)
Untitled Trigger 002
Events
Map initialization
Conditions
Actions
Animation - Play the stand third animation for all doodads of type YOsw (Unexpected type: 'doodadcode') within (Playable map area) .
Unit Group - Pick every unit in (Units in (Playable map area) owned by Neutral Hostile) and do (Make (Picked unit) Invulnerable)
Unit Group - Pick every unit in (Units in (Playable map area) owned by Neutral Hostile) and do (Pause (Picked unit))
Unit Group - Pick every unit in (Units in (Playable map area) owned by Neutral Hostile) and do (Play (Picked unit)'s sleep animation)
Unit Group - Pick every unit in (Units in (Playable map area) owned by Neutral Hostile) and do (Change (Picked unit)'s animation speed to 0.00% of its original speed)
Unit Group - Pick every unit in (Units in (Playable map area) owned by Neutral Hostile) and do (Pause (Picked unit))
Unit Group - Pick every unit in (Units owned by Neutral Hostile.) and do (Play (Picked unit)'s stand channel animation)
Untitled Trigger 003
Events
Unit - A unit enters Region_000 <gen>
Conditions
Actions
Unit Group - Pick every unit in (Units owned by Neutral Hostile.) and do (Make (Picked unit) Vulnerable)
Unit Group - Pick every unit in (Units owned by Neutral Hostile.) and do (Change (Picked unit)'s animation speed to 25.00% of its original speed)
Unit Group - Pick every unit in (Units owned by Neutral Hostile.) and do (Play (Picked unit)'s Birth animation)
Wait 8.00 seconds
Unit Group - Pick every unit in (Units owned by Neutral Hostile.) and do (Reset (Picked unit)'s animation)
Unit Group - Pick every unit in (Units in (Playable map area) owned by Neutral Hostile) and do (Change (Picked unit)'s animation speed to 100.00% of its original speed)
Unit Group - Pick every unit in (Units owned by Neutral Hostile.) and do (Unpause (Picked unit))
Untitled Trigger 004
Events
Unit - A unit enters Region_002 <gen>
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 12 (Brown)) and do (Reset (Picked unit)'s animation)
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 12 (Brown)) and do (Unpause (Picked unit))
Untitled Trigger 005
Events
Unit - A unit enters Region_002 <gen>
Conditions
Actions
Lightning - Create a Chain Lightning - Primary lightning effect from source (Center of lyn_sunwell_3 <gen>) to target (Center of Lys_under_sunwell <gen>)
Set Variable Set Lyn[0] = (Last created lightning effect)
Wait 1.00 seconds
Lightning - Create a Chain Lightning - Primary lightning effect from source (Center of lyn_sunwell <gen>) to target (Center of Lys_under_sunwell <gen>)
Set Variable Set Lyn[1] = (Last created lightning effect)
Wait 1.00 seconds
Lightning - Create a Chain Lightning - Primary lightning effect from source (Center of lyn_sunwell_2 <gen>) to target (Center of Lys_under_sunwell <gen>)
Set Variable Set Lyn[2] = (Last created lightning effect)
Wait 1.00 seconds
Lightning - Create a Drain Life lightning effect from source (Center of lyn_sunwell_3 <gen>) to target (Center of Lys_under_sunwell <gen>)
Set Variable Set Lyn[3] = (Last created lightning effect)
Wait 1.00 seconds
Lightning - Create a Drain Life lightning effect from source (Center of lyn_sunwell <gen>) to target (Center of Lys_under_sunwell <gen>)
Set Variable Set Lyn[4] = (Last created lightning effect)
Wait 1.00 seconds
Lightning - Create a Drain Life lightning effect from source (Center of lyn_sunwell_2 <gen>) to target (Center of Lys_under_sunwell <gen>)
Set Variable Set Lyn[5] = (Last created lightning effect)
Wait 1.00 seconds
Lightning - Create a Finger of Death lightning effect from source (Center of lyn_sunwell_3 <gen>) to target (Center of Lys_under_sunwell <gen>)
Set Variable Set Lyn[6] = (Last created lightning effect)
Wait 1.00 seconds
Lightning - Create a Finger of Death lightning effect from source (Center of lyn_sunwell <gen>) to target (Center of Lys_under_sunwell <gen>)
Set Variable Set Lyn[7] = (Last created lightning effect)
Wait 1.00 seconds
Lightning - Create a Finger of Death lightning effect from source (Center of lyn_sunwell_2 <gen>) to target (Center of Lys_under_sunwell <gen>)
Set Variable Set Lyn[8] = (Last created lightning effect)
Untitled Trigger 006
Events
Unit - Archmage 0011 <gen> Dies
Conditions
Actions
Lightning - Destroy Lyn[0]
Lightning - Destroy Lyn[1]
Lightning - Destroy Lyn[2]
Lightning - Destroy Lyn[3]
Lightning - Destroy Lyn[4]
Lightning - Destroy Lyn[5]
Lightning - Destroy Lyn[6]
Lightning - Destroy Lyn[7]
Lightning - Destroy Lyn[8]
Untitled Trigger 007
Events
Unit - A unit enters film_paa_vej_til_tempel <gen>
Conditions
Actions
Unit - Remove (Entering unit) from the game
Trigger - Turn off (This trigger)
Cinematic - Turn cinematic mode On for (All players)
Unit - Create 5 . Footman for Player 1 (Red) at (Center of temple_film_spawm <gen>) facing Default building facing degrees
Unit - Create 1 . Paladin for Player 1 (Red) at (Center of temple_film_spawm <gen>) facing Default building facing degrees
Cinematic - Fade out over 0.00 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Cinematic - Fade in over 12.00 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Camera - . Apply . gg_cam_Camera_001 for Player 1 (Red) over 0 seconds
Camera - . Apply . gg_cam_Camera_002 for Player 1 (Red) over 8.00 seconds
Wait 8.00 seconds
Cinematic - Fade out over 0.00 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Camera - . Apply . gg_cam_Camera_003 for Player 1 (Red) over 0.00 seconds
Cinematic - Fade in over 10.00 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Wait 4.00 seconds
Animation - Change Rolling Stone Door 0161 <gen> 's animation speed to 25.00 % of its original speed
Destructible - Kill Rolling Stone Door 0161 <gen>
Wait 6.00 seconds
Unit Group - Pick every unit in (Units in temple_film_spawm <gen>) and do (Order (Picked unit) to Move To.(Center of temple_film_spawn_gaa_til <gen>))
Cinematic - Send transmission to (All players) from a Player 1 (Red) . Footman named Footman at (Center of temple_film_spawn_gaa_til <gen>) : Play No sound and display What wretched place is this? . Modify duration: Add 0 seconds and Wait
Wait 2.00 seconds
Camera - . Apply . gg_cam_Camera_004 for Player 1 (Red) over 8.00 seconds
Cinematic - Send transmission to (All players) from a Player 1 (Red) . Paladin named Hero at (Center of temple_film_spawn_gaa_til <gen>) : Play No sound and display This place used to be a temple build to honor the seven gods, but corruption has rooted itself deep, and since the destruction of the staff of order has no living being ever returned this place alive. . Modify duration: Add 8.00 seconds and Don't wait
Wait 2.00 seconds
Camera - . Apply . gg_cam_Camera_005 for Player 1 (Red) over 2.00 seconds
Wait 1.90 seconds
Camera - . Apply . gg_cam_Camera_005 for Player 1 (Red) over 1.00 seconds
Wait 0.90 seconds
Camera - . Apply . gg_cam_Camera_006 for Player 1 (Red) over 2.00 seconds
Wait 1.90 seconds
Camera - . Apply . gg_cam_Camera_007 for Player 1 (Red) over 2.00 seconds
Wait 0.95 seconds
Sound - Play FrostwyrmWarcry1 <gen> at 100 % volume, located at (Center of skeletter <gen>) with Z offset 0
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 11 (Dark Green)) and do (Play (Picked unit)'s Victory animation)
Wait 0.95 seconds
Camera - . Apply . gg_cam_Camera_008 for Player 1 (Red) over 2.00 seconds
Wait 1.90 seconds
Camera - . Apply . gg_cam_Camera_009 for Player 1 (Red) over 2.00 seconds
Wait 1.40 seconds
Camera - . Apply . gg_cam_Camera_010 for Player 1 (Red) over 2.00 seconds
Wait 1.40 seconds
Camera - . Apply . gg_cam_Camera_011 for Player 1 (Red) over 2.00 seconds
Wait 1.90 seconds
Camera - . Apply . gg_cam_Camera_012 for Player 1 (Red) over 2.00 seconds
Wait 1.90 seconds
Camera - . Apply . gg_cam_Camera_013 for Player 1 (Red) over 4.00 seconds
Wait 3.90 seconds
Camera - . Apply . gg_cam_Camera_014 for Player 1 (Red) over 2.00 seconds
Cinematic - Turn cinematic mode Off for (All players)
Untitled Trigger 008
Events
Unit - A unit enters Skilt <gen>
Conditions
Actions
Cinematic - Send transmission to (All players) from (Entering unit) named Hero : Play No sound and display There is a sign here, it says: He who seeks entrance to the chamber of prophecies must first prove him worthy. He must press the buttons in the right order or face the consequences. . Modify duration: Add 0 seconds and Wait
Untitled Trigger 009
Events
Unit - A unit enters lyn_statue_saat_igang <gen>
Conditions
Actions
Lightning - Create a Chain Lightning - Primary lightning effect from source (Center of Lyn_statue_1 <gen>) to target (Center of Lyn_statue <gen>)
Set Variable Set Lynstatue[0] = (Last created lightning effect)
Wait 1.00 seconds
Lightning - Create a Chain Lightning - Primary lightning effect from source (Center of Lyn_statue_2 <gen>) to target (Center of Lyn_statue <gen>)
Set Variable Set Lynstatue[1] = (Last created lightning effect)
Wait 1.00 seconds
Lightning - Create a Chain Lightning - Primary lightning effect from source (Center of Lyn_statue_3 <gen>) to target (Center of Lyn_statue <gen>)
Set Variable Set Lynstatue[2] = (Last created lightning effect)
Wait 1.00 seconds
Lightning - Create a Chain Lightning - Primary lightning effect from source (Center of Lyn_statue_4 <gen>) to target (Center of Lyn_statue <gen>)
Set Variable Set Lynstatue[3] = (Last created lightning effect)
Wait 1.00 seconds
Lightning - Create a Chain Lightning - Primary lightning effect from source (Center of Lyn_statue_5 <gen>) to target (Center of Lyn_statue <gen>)
Set Variable Set Lynstatue[4] = (Last created lightning effect)
Wait 1.00 seconds
Lightning - Create a Chain Lightning - Primary lightning effect from source (Center of Lyn_statue_6 <gen>) to target (Center of Lyn_statue <gen>)
Set Variable Set Lynstatue[5] = (Last created lightning effect)
Wait 1.50 seconds
Lightning - Create a Magic Leash lightning effect from source (Center of Lyn_statue_1 <gen>) to target (Center of Lyn_statue <gen>)
Set Variable Set Lynstatue[6] = (Last created lightning effect)
Wait 1.00 seconds
Lightning - Create a Magic Leash lightning effect from source (Center of Lyn_statue_2 <gen>) to target (Center of Lyn_statue <gen>)
Set Variable Set Lynstatue[7] = (Last created lightning effect)
Wait 1.00 seconds
Lightning - Create a Magic Leash lightning effect from source (Center of Lyn_statue_3 <gen>) to target (Center of Lyn_statue <gen>)
Set Variable Set Lynstatue[8] = (Last created lightning effect)
Wait 1.00 seconds
Lightning - Create a Magic Leash lightning effect from source (Center of Lyn_statue_4 <gen>) to target (Center of Lyn_statue <gen>)
Set Variable Set Lynstatue[9] = (Last created lightning effect)
Wait 1.00 seconds
Lightning - Create a Magic Leash lightning effect from source (Center of Lyn_statue_5 <gen>) to target (Center of Lyn_statue <gen>)
Set Variable Set Lynstatue[10] = (Last created lightning effect)
Wait 1.00 seconds
Lightning - Create a Magic Leash lightning effect from source (Center of Lyn_statue_6 <gen>) to target (Center of Lyn_statue <gen>)
Set Variable Set Lynstatue[11] = (Last created lightning effect)
Animation - Play the death animation for all doodads of type DOas (Unexpected type: 'doodadcode') within Lyn_statue <gen> .
Special Effect - Create a special effect at (Center of Lyn_statue <gen>) using Doodads\Cinematic\CavernDust\CavernDust.mdl
Wait 5.00 seconds
Special Effect - Destroy (Last created special effect)
Lightning - Create a Finger of Death lightning effect from source (Center of Lyn_statue <gen>) to target (Center of lyn_statue_7 <gen>)
Set Variable Set Lynstatue[12] = (Last created lightning effect)
Lightning - Create a Healing Wave - Primary lightning effect from source (Center of Lyn_statue <gen>) to target (Center of lyn_statue_7 <gen>)
Set Variable Set Lynstatue[13] = (Last created lightning effect)
Lightning - Create a Forked Lightning lightning effect from source (Center of Lyn_statue <gen>) to target (Center of lyn_statue_7 <gen>)
Set Variable Set Lynstatue[14] = (Last created lightning effect)
Lightning - Create a Chain Lightning - Primary lightning effect from source (Center of Lyn_statue <gen>) to target (Center of lyn_statue_7 <gen>)
Set Variable Set Lynstatue[15] = (Last created lightning effect)
Wait 2 seconds
Lightning - Create a Spirit Link lightning effect from source (Center of lyn_statue_7 <gen>) to target (Center of lyn_statue_8 <gen>)
Set Variable Set Lynstatue[16] = (Last created lightning effect)
Lightning - Create a Spirit Link lightning effect from source (Center of lyn_statue_7 <gen>) to target (Center of lyn_statue_9 <gen>)
Set Variable Set Lynstatue[17] = (Last created lightning effect)
Wait 10.00 seconds
Lightning - Destroy Lynstatue[0]
Lightning - Destroy Lynstatue[1]
Lightning - Destroy Lynstatue[2]
Lightning - Destroy Lynstatue[3]
Lightning - Destroy Lynstatue[4]
Lightning - Destroy Lynstatue[5]
Lightning - Destroy Lynstatue[6]
Lightning - Destroy Lynstatue[7]
Lightning - Destroy Lynstatue[8]
Lightning - Destroy Lynstatue[9]
Lightning - Destroy Lynstatue[10]
Lightning - Destroy Lynstatue[11]
Lightning - Destroy Lynstatue[12]
Lightning - Destroy Lynstatue[13]
Lightning - Destroy Lynstatue[14]
Lightning - Destroy Lynstatue[15]
Lightning - Destroy Lynstatue[16]
Lightning - Destroy Lynstatue[17]
Destructible - Open Demonic Gate 0155 <gen>
Untitled Trigger 010
Events
Destructible - A destructible within lever <gen> dies
Conditions
Actions
Destructible - Open Rolling Stone Door 0242 <gen>
Wait 8.00 seconds
Destructible - Remove (Random destructible in lever <gen>)
Destructible - Create a DTlv (Unexpected type: 'destructablecode') at (Center of lever <gen>) facing 44.00 with scale 1 and variation 0
Destructible - Close Rolling Stone Door 0242 <gen>
Untitled Trigger 011
Events
Unit - A unit enters Region_027 <gen>
Conditions
Actions
Trigger - Turn off Untitled_Trigger_010 <gen>
Destructible - Kill (Random destructible in lever <gen>)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Entering unit)) Equal to Barrel
Then - Actions
Trigger - Turn off Untitled_Trigger_011_Copy <gen>
Trigger - Turn off Untitled_Trigger_012 <gen>
Animation - Play Foot Switch 0243 <gen> 's death animation
Destructible - Open Rolling Stone Door 0241 <gen>
Destructible - Open Rolling Stone Door 0242 <gen>
Else - Actions
Animation - Play Foot Switch 0243 <gen> 's death animation
Destructible - Open Rolling Stone Door 0241 <gen>
Destructible - Open Rolling Stone Door 0242 <gen>
Untitled Trigger 011 Copy
Events
Unit - A unit leaves Region_027 <gen>
Conditions
Actions
Destructible - Close Rolling Stone Door 0242 <gen>
Destructible - Close Rolling Stone Door 0241 <gen>
Animation - Play Foot Switch 0243 <gen> 's stand animation
If ((Unit-type of (Leaving unit)) Equal to Barrel) then do (Order Barrel 0058 <gen> to Move To.(Center of Region_027 <gen>)) else do (Do nothing)
Untitled Trigger 012
Events
Unit - A unit comes within 90.00 of Barrel 0058 <gen>
Conditions
Actions
Unit - Order Barrel 0058 <gen> to Move To . (Position of (Triggering unit))
Untitled Trigger 013
Events
Unit - A unit enters Region_027 <gen>
Conditions
Actions
Trigger - Turn off (This trigger)
Cinematic - Send transmission to (All players) from a Player 1 (Red) . Footman named Footman at (Center of (Playable map area)) : Play No sound and display My liege, you should try and move the barrel to the foot switch . Modify duration: Add 5.00 seconds and Wait
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.