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.
[08:43 am]
TheHappy115 -- Yea, thats the issue. Thanks. It would also explain why my deleted map couldn't get updated. Updated version reduced collision on units (only thing added) since was dodging game (players collide with each other)
[05:26 am]
Ultraviolet -- If so, I'd just focus on getting them on scmscx.com and then you can link to that in the showcase thread for your maps
[05:25 am]
Ultraviolet -- I can't upload my EUD maps, I think the DLDB has some issue with handling them. Are you trying to upload EUD maps?
[02:06 am]
TheHappy115 -- Its been awhile but ever since I requested one of the Maps I posted to be deleted since I couldn't delete it myself (or update it), I haven't been able to upload any more maps. Any reason for that?
[2024-5-26. : 7:14 pm]
Kyradax -- Hi
[2024-5-26. : 5:05 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-5-25. : 9:22 am]
Zycorax -- :wob:
[2024-5-23. : 3:50 pm]
Ultraviolet -- :wob:
[2024-5-23. : 6:26 am]
UndeadStar -- :wob:
[2024-5-22. : 6:10 am]
Riney -- Somethings never change.
Please log in to shout.


Members Online: Kyradax, sethmachine