Staredit Network > Forums > SC2 Assistance > Topic: Units entering region/point
Units entering region/point
Sep 19 2011, 5:34 pm
By: GhostChenmo  

Sep 19 2011, 5:34 pm GhostChenmo Post #1



How can I make a trigger that doesn't fire its actions until all the remaining units of a player have entered into a region or within the boundaries of a point. I also need to make the units move once all the remaining units enter the region/point.

Another question: What would a trigger look like that checks if a player has any units on the map or in a region/point?



None.

Sep 20 2011, 1:13 am Roy Post #2

An artist's depiction of an Extended Unit Death

Just make the trigger either not run if conditions haven't been met or use "Wait for Condition" as the first action for the trigger.

You can use the "Find Units" condition to check for a number of units within a range of a point.




Sep 20 2011, 1:53 am NicholasBeige Post #3



Quote from GhostChenmo
How can I make a trigger that doesn't fire its actions until all the remaining units of a player have entered into a region or within the boundaries of a point. I also need to make the units move once all the remaining units enter the region/point.

Another question: What would a trigger look like that checks if a player has any units on the map or in a region/point?
One way of going about it would be to use a unit group variable and add the players units to this group once they reach a certain point/area. If they leave the certain point/area, remove them from the group.
Then you can have another trigger firing either periodically or once every time a unit reaches the point/area - that checks if all of the units controlled by a player are in the unit group. If they are, then commence with the actions.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:57 am]
NudeRaider -- https://staredit.net/381600/ You have 5 minutes, then you can only edit your posts.
[04:05 pm]
NudeRaider -- DarkenedFantasies
DarkenedFantasies shouted: you eat lots of beans
:lol:
[11:30 am]
NudeRaider -- I would like 3000 minerals, please
[2026-4-16. : 7:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
[2026-4-16. : 3:46 am]
IskatuMesk -- how do i get gas
[2026-4-15. : 11:43 pm]
Moose -- you don't
[2026-4-15. : 10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
Please log in to shout.


Members Online: RIVE, jun3hong