Does this trigger leak im new to making thing leakles
Thanks for help
Code:
FirstEmpireBase
Events
Unit - A unit comes within 35.00 of Circle of Power (large) 0029 <gen>
Conditions
((Owner of (Triggering unit)) is an ally of Player 1 (Red)) Equal to True
Actions
For each (Integer A) from 1 to 10, do (Actions)
Loop - Actions
Set Temp_Point = (Position of Circle of Power (large) 0027 <gen>)
Special Effect - Create a special effect at Temp_Point using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
Set Temp_SFX[(Integer A)] = (Last created special effect)
Custom script: call RemoveLocation (udg_Temp_Point)
Unit - Move (Triggering unit) instantly to (Center of FirstEmpireStart <gen>)
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of FirstEmpireStart <gen>) over 0.00 seconds
For each (Integer B) from 1 to 10, do (Actions)
Loop - Actions
Set Temp_Point = (Position of Circle of Power (large) 0027 <gen>)
Special Effect - Create a special effect at Temp_Point using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
Set Temp_SFY[(Integer B)] = (Last created special effect)
Custom script: call RemoveLocation (udg_Temp_Point)
Unit - Move (Triggering unit) instantly to (Center of FirstEmpireStart <gen>)
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of FirstEmpireStart <gen>) over 0.00 seconds
Wait 2.00 seconds
For each (Integer A) from 1 to 10, do (Actions)
Loop - Actions
Special Effect - Destroy Temp_SFX[(Integer A)]
For each (Integer B) from 1 to 10, do (Actions)
Loop - Actions
Special Effect - Destroy Temp_SFY[(Integer B)]
Thanks for help