Oh my god, I do not know if you will understand what I need, look, I have created a variable point with an array and I use as:
set TempPoint[1] = x point (x point may be a position of an unit)
set TempPoint[2] = x point (x point may be a position of another unit)
and so on,
but when I want to clear it I have to
call RemoveLocation (udg_TempPoint[1])
then call RemoveLocation (udg_TempPoint[2])
then call RemoveLocation (udg_TempPoint[3])
and so on,
It is very exhausting to do.
So, does exist a way shorter to clear many locations with one custom script only?
Also I want to ask why in my map, when the event unit enters region occur, I have many regions with this event, it makes the creep to go to the next region, it is a td map, again to the question, why when there are more than 60 units entering in the players region they do a little lag, like a 0.01 sec lag, but it repeats and it is frustrating for me.
set TempPoint[1] = x point (x point may be a position of an unit)
set TempPoint[2] = x point (x point may be a position of another unit)
and so on,
but when I want to clear it I have to
call RemoveLocation (udg_TempPoint[1])
then call RemoveLocation (udg_TempPoint[2])
then call RemoveLocation (udg_TempPoint[3])
and so on,
It is very exhausting to do.
So, does exist a way shorter to clear many locations with one custom script only?
Also I want to ask why in my map, when the event unit enters region occur, I have many regions with this event, it makes the creep to go to the next region, it is a td map, again to the question, why when there are more than 60 units entering in the players region they do a little lag, like a 0.01 sec lag, but it repeats and it is frustrating for me.