Hi guys..
Well i have a trigger where i need to use location a lot of times.
I remove the location after use like this
Some one said i could use a global location instead of a local location and use move location all the time it will work and i don't need to remove it
I don't think mui will be a problem. So which do you think will be more efficient.
Well i have a trigger where i need to use location a lot of times.
I remove the location after use like this
JASS:
set loc1 = GetUnitLoc(rotatecenter[n])
set z1 = GetLocationZ(loc1)
set loc2 = GetUnitLoc(rotateunit[n])
set z2 = GetLocationZ(loc2)
call SetUnitFlyHeight(rotateunit[n], (150 + z1 - z2) , 0)
call RemoveLocation(loc1)
call RemoveLocation(loc2)
Some one said i could use a global location instead of a local location and use move location all the time it will work and i don't need to remove it
I don't think mui will be a problem. So which do you think will be more efficient.