LordTalbot
New Member
- Reaction score
- 0
Hi,
i've read a tutorial on how to prevent leaks. I will ask my question on a strict example.
I have read that points (unit locations etc.) leak
So the shown solution is:
set Temp_Point = position of triggering unit
issue order unit to do something targeting temp_point
Custom script: call RemoveLocation (udg_Temp_Point)
Is it enough to have one global variable of type point (Temp_Point) variable to use this method in all my triggers? This means that the engine always works function after function right?
im pretty much refering to emjlrs tutorial on world-editor-tutorials (http://world-editor-tutorials.thehelper.net/cat_usersubmit.php?view=27219)
thank you
i've read a tutorial on how to prevent leaks. I will ask my question on a strict example.
I have read that points (unit locations etc.) leak
So the shown solution is:
set Temp_Point = position of triggering unit
issue order unit to do something targeting temp_point
Custom script: call RemoveLocation (udg_Temp_Point)
Is it enough to have one global variable of type point (Temp_Point) variable to use this method in all my triggers? This means that the engine always works function after function right?
im pretty much refering to emjlrs tutorial on world-editor-tutorials (http://world-editor-tutorials.thehelper.net/cat_usersubmit.php?view=27219)
thank you