- Joined
- Mar 21, 2014
- Messages
- 79
do these triggers leak?
-
Boss Event Announce and Countdown
-
Events
-
Time - Boss_Event_Loop expires
-
-
Conditions
-
Boss_Events Equal to True
-
Boss_Status Equal to <Dead>
-
-
Actions
-
For each (Integer A) from 1 to 20, do (Actions)
-
Loop - Actions
-
Special Effect - Create a special effect at ((Center of Boss Fight Area <gen>) offset by 512.00 towards (18.00 x (Real((Integer A)))) degrees) using Doodads\Cityscape\Props\MagicRunes\MagicRunes0.mdl
-
Set Boss_Animation[(Integer A)] = (Last created special effect)
-
-
-
Set Boss_Status = coming
-
Game - Display to (All players) for 30.00 seconds the text: |cffffcc00BOSS EVEN...
-
Trigger - Turn on Boss Event Ping Loop <gen>
-
Wait 60.00 game-time seconds
-
Game - Display to (All players) for 10.00 seconds the text: |cffffcc00BOSS EVEN...
-
Wait 20.00 game-time seconds
-
Game - Display to (All players) for 5.00 seconds the text: |cffffcc00BOSS EVEN...
-
Wait 5.00 game-time seconds
-
Game - Display to (All players) for 2.00 seconds the text: |cffffcc00BOSS EVEN...
-
Wait 1.00 game-time seconds
-
Game - Display to (All players) for 2.00 seconds the text: |cffffcc00BOSS EVEN...
-
Wait 1.00 game-time seconds
-
Game - Display to (All players) for 2.00 seconds the text: |cffffcc00BOSS EVEN...
-
Wait 1.00 game-time seconds
-
Game - Display to (All players) for 2.00 seconds the text: |cffffcc00BOSS EVEN...
-
Wait 1.00 game-time seconds
-
Game - Display to (All players) for 2.00 seconds the text: |cffffcc00BOSS EVEN...
-
Wait 1.00 game-time seconds
-
Game - Display to (All players) for 2.00 seconds the text: |cffffcc00BOSS EVEN...
-
Set Boss_Event_Fight_Side = 0
-
Set Boss_Event_Fight_Value = 0
-
Set Boss_Status = Fight!
-
Trigger - Turn on Boss Fight Points <gen>
-
-
-
Boss Event Ping Loop
-
Events
-
Time - Every 10.00 seconds of game time
-
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
Boss_Status Equal to coming
-
Boss_Status Equal to Fight!
-
-
-
-
Actions
-
Cinematic - Ping minimap for (All players) at (Center of Boss Fight Area <gen>) for 3.00 seconds, using a Simple ping of color (70.00%, 50.00%, 10.00%)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Boss_Status Equal to <Dead>
-
-
Then - Actions
-
Trigger - Turn off (This trigger)
-
-
Else - Actions
-
Do nothing
-
-
-
-
-
Boss Fight Points
-
Events
-
Time - Every 1.00 seconds of game time
-
-
Conditions
-
Boss_Status Equal to Fight!
-
-
Actions
-
Set Boss_Event_Fight_Side = 0
-
Set Local_Side1_Counter = 0
-
Set Local_Side2_Counter = 0
-
Unit Group - Pick every unit in (Units within 512.00 of (Center of Boss Fight Area <gen>)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Picked unit) belongs to an ally of Player 9 (Gray)) Equal to True
-
((Unit-type of (Picked unit)) is A Hero) Equal to True
-
-
Then - Actions
-
Set Local_Side1_Counter = -1
-
-
Else - Actions
-
-
-
-
Unit Group - Pick every unit in (Units within 512.00 of (Center of Boss Fight Area <gen>)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Picked unit) belongs to an ally of Player 10 (Light Blue)) Equal to True
-
((Unit-type of (Picked unit)) is A Hero) Equal to True
-
-
Then - Actions
-
Set Local_Side2_Counter = 1
-
-
Else - Actions
-
Do nothing
-
-
-
-
-
Set Boss_Event_Fight_Side = (Local_Side1_Counter + Local_Side2_Counter)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Boss_Event_Fight_Side Less than 0
-
-
Then - Actions
-
Set Boss_Event_Fight_Value = (Boss_Event_Fight_Value - 1)
-
Floating Text - Create floating text that reads (|cffcc0000 + ((String((0 - Boss_Event_Fight_Value))) + |r!)) at (Center of Boss Fight Area <gen>) with Z offset 0.00, using font size 30.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
-
Floating Text - Set the velocity of (Last created floating text) to 75.00 towards 90.00 degrees
-
Floating Text - Change (Last created floating text): Disable permanence
-
Floating Text - Change the lifespan of (Last created floating text) to 0.50 seconds
-
Floating Text - Change the fading age of (Last created floating text) to 0.40 seconds
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Boss_Event_Fight_Side Greater than 0
-
-
Then - Actions
-
Set Boss_Event_Fight_Value = (Boss_Event_Fight_Value + 1)
-
Floating Text - Create floating text that reads (|cff7EBFF1 + ((String(Boss_Event_Fight_Value)) + |r!)) at (Center of Boss Fight Area <gen>) with Z offset 0.00, using font size 30.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
-
Floating Text - Set the velocity of (Last created floating text) to 75.00 towards 90.00 degrees
-
Floating Text - Change (Last created floating text): Disable permanence
-
Floating Text - Change the lifespan of (Last created floating text) to 0.50 seconds
-
Floating Text - Change the fading age of (Last created floating text) to 0.40 seconds
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Boss_Event_Fight_Side Less than 0
-
Boss_Event_Fight_Value Less than or equal to -10
-
-
Then - Actions
-
Set Boss_Event_Fight_Value = 0
-
Set Boss_Event_Fight_Side = 0
-
Set Boss_Status = <Dead>
-
Unit - Create 1 Unit_Ogre_Boss for Player 9 (Gray) at (Center of Boss Fight Area <gen>) facing (Position of Fortress[3])
-
Unit Group - Pick every unit in (Last created unit group) and do (Actions)
-
Loop - Actions
-
Unit - Add Ogre_Boss_Abilities[0] to (Picked unit)
-
Unit - Add Ogre_Boss_Abilities[1] to (Picked unit)
-
Unit - Add Ogre_Boss_Abilities[2] to (Picked unit)
-
Unit Group - Add (Picked unit) to Units_BlackrockClan
-
AI - Ignore (Picked unit)'s guard position
-
Unit - Order (Picked unit) to Attack-Move To (Center of Horde Fortress 2 <gen>)
-
-
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Creeps_Group_Fight_Side[(Integer A)] Greater than 0
-
Creeps_Region_Fight_Value[(Integer A)] Greater than or equal to 10
-
-
Then - Actions
-
Set Boss_Event_Fight_Value = 0
-
Set Boss_Event_Fight_Side = 0
-
Set Boss_Status = <Dead>
-
Unit - Create 1 Unit_Ogre_Boss for Player 10 (Light Blue) at (Center of Boss Fight Area <gen>) facing (Position of Fortress[0])
-
Unit Group - Pick every unit in (Last created unit group) and do (Actions)
-
Loop - Actions
-
Unit - Add Ogre_Boss_Abilities[0] to (Picked unit)
-
Unit - Add Ogre_Boss_Abilities[1] to (Picked unit)
-
Unit - Add Ogre_Boss_Abilities[2] to (Picked unit)
-
Unit Group - Add (Picked unit) to Units_BlackToothGrinClan
-
AI - Ignore (Picked unit)'s guard position
-
Unit - Order (Picked unit) to Attack-Move To (Center of Horde Fortress 1 <gen>)
-
-
-
-
Else - Actions
-
Do nothing
-
-
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Boss_Status Equal to <Dead>
-
-
Then - Actions
-
For each (Integer A) from 1 to 20, do (Actions)
-
Loop - Actions
-
Special Effect - Destroy Boss_Animation[(Integer A)]
-
-
-
Trigger - Turn off (This trigger)
-
-
Else - Actions
-
Do nothing
-
-
-
-