So I'm making a map that has 641 points scattered throughout it. These are very specific points that need to be at the location they are at.
I want to spawn a unit at every single point, and I don't want to make 641 triggers or 641 actions to do so.
Additionally, I have 4 different versions of this unit, a random one of which needs to spawn, and I already got the trigger working to spawn the unit at a specific point, but I'd prefer to not recreate this trigger 641 times. Any thoughts on how to make this easier?
Rollback Post to RevisionRollBack
I also go by Krazymouse in SC2.
Past works: Cat and Mouse Winter Revival, Wrong Weapons Mod
You can get point from name, so if you name your points like UnitA_1 UnitA_2 .. UnitA_157 .. and so on you will be able to easily iterate trough them in trigger loops.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So I'm making a map that has 641 points scattered throughout it. These are very specific points that need to be at the location they are at.
I want to spawn a unit at every single point, and I don't want to make 641 triggers or 641 actions to do so.
Additionally, I have 4 different versions of this unit, a random one of which needs to spawn, and I already got the trigger working to spawn the unit at a specific point, but I'd prefer to not recreate this trigger 641 times. Any thoughts on how to make this easier?
I also go by Krazymouse in SC2.
Past works: Cat and Mouse Winter Revival, Wrong Weapons Mod
You can get point from name, so if you name your points like UnitA_1 UnitA_2 .. UnitA_157 .. and so on you will be able to easily iterate trough them in trigger loops.