General - Switch (Actions) depending on (Unit type of (Unit attached to Player1SpawnerSpawn))
So I'm trying to use this switch statement to check what type of unit is in a region, but not sure if "attached to region" means theres something you need to say "attached" or if its just any unit in the region
Thanks Riley, attach wasnt working at all, although units in region matching conditions has its errors as i just found out =/
A region can be attached to the unit in which case the region actually follows the unit around (so that the unit is always at the center point of the region.) That's what that's for. So it will not do what you want it to do.
Instead you will need to use one of the actions under Unit Group such as "Units In Region Matching Condition" and then iterate through the units in the resulting unit group.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
General - Switch (Actions) depending on (Unit type of (Unit attached to Player1SpawnerSpawn))
So I'm trying to use this switch statement to check what type of unit is in a region, but not sure if "attached to region" means theres something you need to say "attached" or if its just any unit in the region
Thanks Riley, attach wasnt working at all, although units in region matching conditions has its errors as i just found out =/
A region can be attached to the unit in which case the region actually follows the unit around (so that the unit is always at the center point of the region.) That's what that's for. So it will not do what you want it to do.
Instead you will need to use one of the actions under Unit Group such as "Units In Region Matching Condition" and then iterate through the units in the resulting unit group.