- Joined
- Mar 17, 2012
- Messages
- 582
Hi everyone! Qhick question. I'll show you this piece of trigger. Does it have any leaks?
Because I have read recently that there are some leaks using "Point WIth Polar Offset"...
-
Set Infernal_Storm_Picked_Point = (Position of Infernal_Storm_Picked)
-
Set Infernal_Storm_Movement = (Infernal_Storm_Picked_Point offset by (((Real((Level of Infernal Storm for Infernal_Storm_Caster[(Integer A)]))) x 0.40) + 2.00) towards Infernal_Storm_Angle[(Integer A)] degrees)
-
Custom script: call SetUnitX (udg_Infernal_Storm_Picked, GetLocationX (udg_Infernal_Storm_Movement))
-
Custom script: call SetUnitY (udg_Infernal_Storm_Picked, GetLocationY (udg_Infernal_Storm_Movement))
-
Custom script: call RemoveLocation(udg_Infernal_Storm_Picked_Point)
-
Custom script: call RemoveLocation(udg_Infernal_Storm_Movement)
-
Else - Actions
-
Custom script: call DestroyGroup(udg_Infernal_Storm_Group[GetForLoopIndexA()])
-
Else - Actions