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.
[02:26 pm]
UndeadStar -- Vrael, since the ad messages get removed, you look like a total madman for someone that come late
[2024-5-02. : 1:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
Please log in to shout.


Members Online: jun3hong, Ultraviolet