- Joined
- Nov 10, 2006
- Messages
- 181
You need JNGP aka JassNewGenPack or any vJASS complier.
set Total = Total + 1
set Ar[Total - 1] = dat
-1
from the (now) second line,,I also have one thing to mention here
It is actually the same efficiency thing as with your Jump System,
You create a unit for every Destructable you kill (you check for it to be a tree),,
Just do as you did with the Jump sys there, a global unit, and move it
(Dont forget to order it to stop again,,)
EDIT:
I have seen this before, and it is kinda strange to me:
JASS:set Total = Total + 1 set Ar[Total - 1] = dat
Just flip those two, and remove the-1
from the (now) second line,,
I though you already knew that =P
if you use it wrongGetLocationZ has the ability to desync.
Don't freakin use this. There are much better systems.