I am trying to make a trigger that picks every number 1-5 with just one easy trigger instead of needing 5 different triggers.
Basically I have a unit type variable array, named Undead Units [15]
and of course I set each undead unit to a variable 1-15
In most cases I just reference one unit like Undead units [5] for example, or random # 1-15, which helps a lot for what I am doing
but my question is how would make a trigger that says something similar to "Create Undead units [1-5]"
as I have many units types, and different ranges, so I want to avoid making 5 different triggers just to do the above, then would need even more for like 1-15 for example
Basically I have a unit type variable array, named Undead Units [15]
and of course I set each undead unit to a variable 1-15
In most cases I just reference one unit like Undead units [5] for example, or random # 1-15, which helps a lot for what I am doing
but my question is how would make a trigger that says something similar to "Create Undead units [1-5]"
as I have many units types, and different ranges, so I want to avoid making 5 different triggers just to do the above, then would need even more for like 1-15 for example