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:42 am]
RIVE -- Hellooooo, Nurse
[2026-6-03. : 4:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
[2026-5-31. : 8:07 pm]
Ultraviolet -- Symmetry
Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
[2026-5-31. : 6:47 pm]
Symmetry -- I did my first EUD thing today. Feels like me finding arsenal at age 8 again
[2026-5-31. : 3:20 pm]
l)ark_ssj9kevin -- le reddit
Please log in to shout.


Members Online: Rawflesh0615