Code:
call RemoveLocation( udg_PointVariable )
I now have stored 2 points in a point array, how do I remove them? what should my custom script look like?
Thanks!|||Isn't it just
Code:
call RemoveLocation( udg_PointVariable[1] )
?|||Quote:
Isn't it just
Code:
call RemoveLocation( udg_PointVariable[1] )
?
Yeah, I figured that out. Luckily I only have 2 points, but what if I have 10 or even 100 points? Is there a easier way?|||it should look something like this
Code:
local integer index = 0|||Quote:
loop
exitwhen index > howevermanypointsyouhave
call removelocation(udg_blahblah[index])
set index = index + 1
endloop
it should look something like this
Code:
local integer index = 0
loop
exitwhen index > howevermanypointsyouhave
call removelocation(udg_blahblah[index])
set index = index + 1
endloop
cool....
No comments:
Post a Comment