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.
[06:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[05:41 am]
Ultraviolet -- 🤔 so inf is in you?
[04:57 am]
O)FaRTy1billion[MM] -- my name is mud
[04:35 am]
Ultraviolet -- mud, meet my friend, the stick
[2024-5-16. : 10:07 pm]
lil-Inferno -- nah
[2024-5-16. : 8:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
[2024-5-16. : 5:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
[2024-5-16. : 5:24 pm]
lil-Inferno -- poopoo
[2024-5-16. : 5:14 pm]
UndeadStar -- I wonder if that's what happened to me. A returned product (screen) was "officially lost" for a while before being found and refunded. Maybe it would have remained "lost" if I didn't communicate?
[2024-5-16. : 3:36 pm]
NudeRaider -- :lol:
Please log in to shout.


Members Online: 6jordane9685ho2