- Joined
- Jun 16, 2008
- Messages
- 1,939
how do i clear unit array using array referring to integer a from function for each integer a from x to y?
n fast answer
eg: set udg_unit[this]
n fast answer
eg: set udg_unit[this]
it does
u clear it like this (found out myself)
set udg_Dummy[bj_forLoopAIndex] = null
i spelled for big For before so it didnt work
local integer a
local integer b=(insert array size here)
loop
exitwhen a==b
set your_array[a]=null
set a=a+1
endloop