Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
set variable(group)->units in region (playable map) matching (custom value of unit equals to (custom value of (triggering unit))) then send them to the point?
Yeah, kanadaj gave you the answer. That trigger will pick every unit in the playable map area that belongs to the same player and will follow the ordered unit:
Tr
Events
Unit - A unit Is issued an order targeting a point
Conditions
((Triggering unit) is in AlreadyOrdered) Equal to False
Actions
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units in (Playable map area) matching (((Custom value of (Matching unit)) Equal to (Custom value of (Triggering unit))) and ((Owner of (Matching unit)) Equal to (Owner of (Triggering unit))))) and do (Actions)
Loop - Actions
Unit Group - Add (Picked unit) to AlreadyOrdered
Unit - Order (Picked unit) to Follow (Triggering unit)
Remove the units from the unit group when you want.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.