- Joined
- Jun 13, 2017
- Messages
- 83
Does This trigger leak?
The special effect in the first trigger, and the destroy on second
Destroy SE trigger will run from another trigger
So will it destroy all special effect created like this?
The special effect in the first trigger, and the destroy on second
-
Rock Special Effect
-
Events
-
Time - Every 0.35 seconds of game time
-
-
Conditions
-
Actions
-
Set SE_DestroyWrite = (SE_DestroyWrite + 1)
-
Set DB_AbP[1] = (Position of DB_DU[1])
-
Special Effect - Create a special effect at (WB_Dummy_Point[0] offset by 5.00 towards (Facing of WB_Dummy_Units[0]) degrees) using Objects\Spawnmodels\Undead\ImpaleTargetDust\ImpaleTargetDust.mdl
-
Set DB_SE[SE_DestroyWrite] = (Last created special effect)
-
Custom script: call RemoveLocation(udg_DB_AbP[1])
-
-
Destroy SE trigger will run from another trigger
-
Destroy SE
-
Events
-
Conditions
-
Actions
-
For each (Integer A) from 1 to SE_DestroyWrite, do (Actions)
-
Loop - Actions
-
Set SE_DestroyRead = (SE_DestroyRead + 1)
-
Special Effect - Destroy DB_SE[SE_DestroyRead]
-
-
-
-
So will it destroy all special effect created like this?