I'm newer to the SC2 Editor, but in SC1's map editor, there was an "Any unit" selection.
What I want to do is select all units owned by a given player, then do some logical checks with that list of units. "Any unit" would work perfectly with other functions already built-in to the trigger editor, but I can't find such a function.
Do I instead need to create a unit group that includes all units owned by the player, and have unit spawn by the player add to that record?
To process multiple units with a test you need to track them in a unit group and then iterate through the contents of that unit group using a for group loop.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm newer to the SC2 Editor, but in SC1's map editor, there was an "Any unit" selection.
What I want to do is select all units owned by a given player, then do some logical checks with that list of units. "Any unit" would work perfectly with other functions already built-in to the trigger editor, but I can't find such a function.
Do I instead need to create a unit group that includes all units owned by the player, and have unit spawn by the player add to that record?
To process multiple units with a test you need to track them in a unit group and then iterate through the contents of that unit group using a for group loop.