Hi,
i have a problem,
i want to store temporarilty some unit into an array, and use the unit[x] inside the trigger.
i won't need it outside the trigger so i want to make it local.
local unit is ok but how to declare a local unit array?
unit[0]
unit[1]
etc...
will it work if i use a loop to fill the local unit[] with data?
because there is no way to specify the size of the array and initialize it...
i don't know in advance how many units i will store in it.
i have a problem,
i want to store temporarilty some unit into an array, and use the unit[x] inside the trigger.
i won't need it outside the trigger so i want to make it local.
local unit is ok but how to declare a local unit array?
unit[0]
unit[1]
etc...
will it work if i use a loop to fill the local unit[] with data?
because there is no way to specify the size of the array and initialize it...
i don't know in advance how many units i will store in it.