- Joined
- Mar 24, 2013
- Messages
- 1,105
EDIT:---This trig has been all deleaked the ones I'm still having some problems with are at the end! Thanks!
Until only recently I've learned that Leaks can really cause problems, so through the various guides on here I'm attempting to stop all my leaks, and I just want to be sure I'm on the right track before I continue further, so if anyone could tell me if these triggers have all their leaks removed that would be great! (Also the spell does not need to be MUI)
Until only recently I've learned that Leaks can really cause problems, so through the various guides on here I'm attempting to stop all my leaks, and I just want to be sure I'm on the right track before I continue further, so if anyone could tell me if these triggers have all their leaks removed that would be great! (Also the spell does not need to be MUI)
-
Aurora Cast
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to [Sinister Seal] Aurora Beam
-
Actions
- Set Aurora_Caster = (Triggering unit)
- Set Aurora_Target = ((Position of (Casting unit)) offset by 1200.00 towards (Angle from (Position of (Triggering unit)) to (Target point of ability being cast)) degrees)
- Unit - Create 1 [Dummy] Aurora Beam Dummy for (Owner of Aurora_Caster) at (Position of Aurora_Caster) facing (Target point of ability being cast)
- Set TempPoint = (Position of (Last created unit))
- Custom script: call RemoveLocation(udg_TempPoint)
- Set AuroraDummy = (Last created unit)
- Unit Group - Add AuroraDummy to AuroraDummyMove
- Trigger - Turn on Aurora Move <gen>
- Wait 3.00 seconds
- Trigger - Turn off Aurora Move <gen>
- Unit - Create 1 [Dummy] Arrow Dummy [No Model] for (Owner of Aurora_Caster) at (Position of (Random unit from AuroraEnemyMove)) facing Default building facing degrees
- Set TempPoint = (Position of (Last created unit))
- Custom script: call RemoveLocation(udg_TempPoint)
- Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
- Unit - Add [Sinster Seal] Aurora Beam Slow to (Last created unit)
- Unit - Order (Last created unit) to Undead Lich - Frost Nova (Random unit from AuroraEnemyMove)
- Unit - Remove AuroraDummy from the game
- Unit Group - Pick every unit in AuroraEnemyMove and do (Unit - Turn collision for (Picked unit) On)
- Unit Group - Remove all units from AuroraEnemyMove
- Set GroupVar = AuroraEnemyMove
- Custom script: call DestroyGroup(udg_GroupVar)
-
Events
-
Aurora Move
-
Events
- Time - Every 0.04 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in AuroraDummyMove and do (Actions)
-
Loop - Actions
- Unit - Move AuroraDummy instantly to ((Position of AuroraDummy) offset by 15.00 towards (Angle from (Position of AuroraDummy) to Aurora_Target) degrees)
- Set TempPoint = (Position of AuroraDummy)
- Set TempPoint2 = (TempPoint offset by 15.00 towards (Angle from (Position of AuroraDummy) to Aurora_Target) degrees)
- Custom script: call RemoveLocation(udg_TempPoint)
- Custom script: call RemoveLocation(udg_TempPoint2)
-
Loop - Actions
- Set Aurora_DummyLoc = (Position of AuroraDummy)
- Set TempPoint = (Position of AuroraDummy)
- Custom script: call RemoveLocation(udg_TempPoint)
- Set AuroraEnemyMove = (Units within 175.00 of Aurora_DummyLoc matching ((((Matching unit) is A structure) Not equal to True) and ((((Matching unit) belongs to an enemy of (Owner of Aurora_Caster)) Equal to True) and ((((Matching unit) is dead) Not equal to True) and ((Matching uni
-
Unit Group - Pick every unit in AuroraEnemyMove and do (Actions)
-
Loop - Actions
- Unit - Turn collision for (Picked unit) Off
- Unit - Move (Picked unit) instantly to ((Position of AuroraDummy) offset by 15.00 towards (Angle from (Position of (Picked unit)) to Aurora_Target) degrees)
- Unit - Cause Aurora_Caster to damage (Picked unit), dealing (Real(((Level of [Sinister Seal] Aurora Beam for Aurora_Caster) + 1))) damage of attack type Spells and damage type Normal
-
Loop - Actions
-
Unit Group - Pick every unit in AuroraDummyMove and do (Actions)
-
Events
Last edited: