If I use one variable in many situations, do I need to remove the leaks?
For example in a loop.
-Loop
----Set Temp_Point = (Random point in (Playable map area))
----Create unit at Temp_Point....
-Call RemoveLocation (udg_Temp_Point)
Do I have to place the "leak remover" in the loop?
Do unit functions like "Last created unit" leave leaks?
Example A:
Action - Unit Group - Add (Last created unit) to (Temp_Unit_Group)
Example B:
Action - Set Variable - Set (Temp_Unit) equal (Last Created Unit)
Action - Unit Group - Add (Temp_Unit) to (Temp_Unit_Group)
Action - Custom...
Ug ug
I am creating a map which will look like a turnbased strategy game.
The unit with the highest real variable ("belonging to him") is the one to start.
It will be multiple units for each player. Therefor I dont think I can use Leaderboard. (Or do I? Not well known with it.)
I hope I...