- Joined
- Jul 14, 2020
- Messages
- 128
Hello Hive, my question is if I can use the same variable of type point for different points without creating memory leaks.
For example I use a SPELL_TempPosition to save the position of the caster, then I use it again in the same or another trigger to save the position of the target, then I use it again to take the position of units in a group, etc. At the end of it all, I clean it up with the remove Location Script. The example creates memory leaks. Does the example cause memory leaks regarding dot variables or not?
Thank you
.
For example I use a SPELL_TempPosition to save the position of the caster, then I use it again in the same or another trigger to save the position of the target, then I use it again to take the position of units in a group, etc. At the end of it all, I clean it up with the remove Location Script. The example creates memory leaks. Does the example cause memory leaks regarding dot variables or not?
Thank you
