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
Enforce The Light.w3x
Variables
Camera
First
Second
Third
Initialization
Initialization
Boss
AbilitateBoss
TentacleSpawn
ZombieSpawn
Potions
U done
Win it
Death
Bob
Weeh
Test
Corpses
Inserisci il codice dello script personalizzato per la mappa nello spazio sottostante. Il testo verrà incluso nello script della mappa dopo che le variabili sono state dichiarate e prima di qualsiasi codice trigger.
Name
Type
is_array
initial_value
Ammo
integer
No
36
Demage
integer
No
25
Quest
quest
No
ReloadTime
integer
No
2
Weapon
integer
No
4
Win
boolean
No
First
Events
Unit - A unit enters camera <gen>
Conditions
Actions
Camera - . Apply . gg_cam_Camera_001_Copy for Player 1 (Red) over 0 seconds
Camera - Lock camera target for Player 1 (Red) to Enforcer 0058 <gen> , offset by ( 0 , 0 ) using Default rotation
Second
Events
Unit - A unit enters Camera_the <gen>
Conditions
Actions
Camera - . Apply . gg_cam_Camera_001_Copy_2 for Player 1 (Red) over 0 seconds
Camera - Lock camera target for Player 1 (Red) to Enforcer 0058 <gen> , offset by ( 0 , 0 ) using Default rotation
Third
Events
Unit - A unit enters The_brev <gen>
Conditions
Actions
Camera - . Apply . gg_cam_Camera_001_Copy_2_Copy for Player 1 (Red) over 0 seconds
Camera - Lock camera target for Player 1 (Red) to Enforcer 0058 <gen> , offset by ( 0 , 0 ) using Default rotation
Initialization
Events
Map initialization
Conditions
Actions
Player - Disable sleeping for all creeps
Quest - Create a Required quest titled Main Quest with the description Kill the Tentacle Monster! , using icon path ReplaceableTextures\CommandButtons\BTNStormEarth&Fire.blp
Set Variable Set Quest = (Last created quest)
Camera - . Apply . gg_cam_Cam for Player 1 (Red) over 0 seconds
Camera - Lock camera target for Player 1 (Red) to Enforcer 0058 <gen> , offset by ( 0 , 0 ) using Default rotation
AbilitateBoss
Events
Unit - A unit enters Boss <gen>
Conditions
Actions
Trigger - Turn on TentacleSpawn <gen>
Trigger - Turn on ZombieSpawn <gen>
Trigger - Turn on Potions <gen>
TentacleSpawn
Events
Time - Every 10.00 seconds of game time
Conditions
Actions
Unit - Create 1 . Tentacle for Neutral Hostile at (Random point in Bossregion <gen>) facing Default building facing degrees
Unit - Create 1 . Tentacle for Neutral Hostile at (Random point in Bossregion <gen>) facing Default building facing degrees
ZombieSpawn
Events
Time - Every 15.00 seconds of game time
Conditions
Actions
Unit - Create 3 . Zombie light for Neutral Hostile at (Random point in Bossregion <gen>) facing Default building facing degrees
Potions
Events
Time - Every 7.00 seconds of game time
Conditions
Actions
Item - Create Potion of Greater Healing at (Random point in Bossregion <gen>)
U done
Events
Unit - Corruptor type 423-A 0025 <gen> Dies
Conditions
Actions
Quest - Mark Quest as Completed
Quest - Display to (All players) the Quest Completed message: Corruptor type 423-A has Died go to the portal now!
Set Variable Set Win = "true"
Win it
Events
Unit - A unit enters Region_003 <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Win Equal to True
Then - Actions
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Else - Actions
Do nothing
Bob
Events
Unit - Enforcer 0058 <gen> Dies
Conditions
Actions
Game - Display to (All players) the text: You died. Respawn in 2 seconds
Wait 2 seconds
Hero - Instantly revive Enforcer 0058 <gen> at (Center of Region_004 <gen>) , Show revival graphics
Test
Events
Player - Player 1 (Red) types a chat message containing Test! Test! (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Move Enforcer 0058 <gen> instantly to (Center of Region_008 <gen>)
Hero - Give gg_item_ratc_0000 to Enforcer 0058 <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.