Nureru
New Member
- Reaction score
- 1
I have some abilities put into an array, and after I randomly picked a number I want the unit to cast the ability from the array at that number. I.E. if SpellArray[0] was Acid Bomb, and I picked 0, I want to order the unit to cast Acid Bomb, but if SpellArray[1] was Thunder Clap, and I picked 1, I want to order the unit to cast Thunder Clap.
Is there any way for me to do this? WC3 has an idiotic method of ordering units to cast spells.
Is there any way for me to do this? WC3 has an idiotic method of ordering units to cast spells.