i just got an idea for a spel but i need to "slide" a number of summoned units, the number of units will be different on ever cast, each unit needs a like...
in the spell, some units are spawned at random spots around the caster and at random heights, after a certain amount of time all of those units move in a direction and fall towards the ground.
heres my problem... i have no idea how many units will be summoned, it is based on different variables, each time it is cast a different number will be summoned based on things the casting unit has done.
i want to use a timer to move the units but i can only attach up to 3 structs to a timer and i will need a lot more than that. is there a way to make / attach an array of structs?
i guess i could create a timer for each unit but i didnt want to have like 20 timers going off ever 0.04 seconds at the same time
JASS:
in the spell, some units are spawned at random spots around the caster and at random heights, after a certain amount of time all of those units move in a direction and fall towards the ground.
heres my problem... i have no idea how many units will be summoned, it is based on different variables, each time it is cast a different number will be summoned based on things the casting unit has done.
i want to use a timer to move the units but i can only attach up to 3 structs to a timer and i will need a lot more than that. is there a way to make / attach an array of structs?
i guess i could create a timer for each unit but i didnt want to have like 20 timers going off ever 0.04 seconds at the same time