- Joined
- Sep 30, 2011
- Messages
- 60
Hey guys, does this trigger leaks? or is it mui/mpi?
im new at triggers sorry

-
Revive Heroes
-

Events
-


Unit - A unit Dies
-
-

Conditions
-


((Triggering unit) is A Hero) Equal to True
-
-

Actions
-


Wait 5.00 seconds
-


Hero - Instantly revive (Triggering unit) at (Random point in Region 000 <gen>), Show revival graphics
-
-
-
Untitled Trigger 001
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to Hiraishin
-
-

Actions
-


Set HiraishinC_Unit[0] = (Triggering unit)
-


Set HiraishinC_Unit[1] = (Target unit of ability being cast)
-


-------- -------------------------- --------
-


Unit - Pause HiraishinC_Unit[0]
-


Animation - Play HiraishinC_Unit[0]'s Attack animation
-


-------- -------------------------- --------
-


Set HiraishinC_Point[0] = (Position of HiraishinC_Unit[0])
-


Set HiraishinC_Point[1] = (Position of HiraishinC_Unit[0])
-


-------- -------------------------- --------
-


Set HiraishinC_Angle[0] = (Angle from HiraishinC_Point[0] to HiraishinC_Point[1])
-


Set HiraishinC_Point[2] = ((Position of HiraishinC_Unit[0]) offset by 25.00 towards (Facing of HiraishinC_Unit[0]) degrees)
-


Unit - Create 1 dummy kunai for (Owner of HiraishinC_Unit[0]) at HiraishinC_Point[0] facing HiraishinC_Angle[0] degrees
-


Set HiraishinC_Unit[2] = (Last created unit)
-


-------- -------------------------- --------
-


Custom script: call RemoveLocation(udg_HiraishinC_Point[0])
-


Custom script: call RemoveLocation(udg_HiraishinC_Point[1])
-


Custom script: call RemoveLocation(udg_HiraishinC_Point[2])
-


-------- -------------------------- --------
-


Trigger - Turn on Untitled Trigger 002 <gen>
-
-
-
Untitled Trigger 002
-

Events
-


Time - Every 0.03 seconds of game time
-
-

Conditions
-

Actions
-


Set HiraishinC_Point[0] = (Position of HiraishinC_Unit[2])
-


Set HiraishinC_Point[1] = (Position of HiraishinC_Unit[1])
-


Set HiraishinC_Angle[0] = (Angle from HiraishinC_Point[0] to HiraishinC_Point[1])
-


Set HiraishinC_Point[2] = (HiraishinC_Point[0] offset by 30.00 towards HiraishinC_Angle[0] degrees)
-


-------- -------------------------- --------
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Distance between HiraishinC_Point[0] and HiraishinC_Point[1]) Less than or equal to 75.00
-
-



Then - Actions
-




Unit - Remove HiraishinC_Unit[2] from the game
-




Animation - Change HiraishinC_Unit[0]'s animation speed to 250.00% of its original speed
-




Unit - Move HiraishinC_Unit[0] instantly to HiraishinC_Point[2]
-




Custom script: call RemoveLocation(udg_HiraishinC_Point[2])
-




Set HiraishinC_Point[2] = (HiraishinC_Point[1] offset by 40.00 towards 60.00 degrees)
-




Animation - Play HiraishinC_Unit[0]'s attack animation
-




Wait 0.20 seconds
-




Unit - Move HiraishinC_Unit[0] instantly to HiraishinC_Point[2]
-




Custom script: call RemoveLocation(udg_HiraishinC_Point[2])
-




Set HiraishinC_Point[2] = (HiraishinC_Point[1] offset by 60.00 towards 180.00 degrees)
-




Animation - Play HiraishinC_Unit[0]'s attack 2 animation
-




Wait 0.20 seconds
-




Unit - Move HiraishinC_Unit[0] instantly to HiraishinC_Point[2]
-




Custom script: call RemoveLocation(udg_HiraishinC_Point[2])
-




Set HiraishinC_Point[2] = (HiraishinC_Point[1] offset by 40.00 towards 360.00 degrees)
-




Animation - Play HiraishinC_Unit[0]'s attack animation
-




Wait 0.20 seconds
-




Unit - Move HiraishinC_Unit[0] instantly to HiraishinC_Point[2]
-




Custom script: call RemoveLocation(udg_HiraishinC_Point[2])
-




Set HiraishinC_Point[2] = (HiraishinC_Point[1] offset by 50.00 towards 90.00 degrees)
-




Animation - Play HiraishinC_Unit[0]'s attack 2 animation
-




Wait 0.20 seconds
-




Unit - Move HiraishinC_Unit[0] instantly to HiraishinC_Point[2]
-




Custom script: call RemoveLocation(udg_HiraishinC_Point[2])
-




Set HiraishinC_Point[2] = (HiraishinC_Point[1] offset by 50.00 towards -180.00 degrees)
-




Animation - Play HiraishinC_Unit[0]'s attack animation
-




Unit - Move HiraishinC_Unit[0] instantly to HiraishinC_Point[2]
-




Custom script: call RemoveLocation(udg_HiraishinC_Point[2])
-
-



Else - Actions
-




Unit - Move HiraishinC_Unit[2] instantly to HiraishinC_Point[2]
-




Custom script: call RemoveLocation(udg_HiraishinC_Point[0])
-




Custom script: call RemoveLocation(udg_HiraishinC_Point[1])
-




Custom script: call RemoveLocation(udg_HiraishinC_Point[2])
-
-
-
-
im new at triggers sorry

