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!
Hey, Im making a trigger that in a certain region all the units owned by Gray should change color and ownership to Brown, but the units of other players in the same region should remain the same.. please help me out!
Unit Group - Pick every unit in (Units in Region 000 <gen>) and do (Actions)
Schleifen - Aktionen
If ((Owner of (Picked unit)) Equal to Player 9 (Gray)) then do (Unit - Change ownership of (Picked unit) to Player 12 (Brown) and change color) else do (Do nothing)
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 9 (Gray)) and do (Actions)
Loop - Actions
Unit - Change ownership of (Picked unit) to Player 12 (Brown) and Change color
First of all: XmmmX99's way isn't wrong
But I read that this way is better. You need to thing @XmmmX99 trigger ALL units and all structures will picked and after he check the condition. In my the condition is directly "checked" ( I don't know who said this to me - but I remember it )
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.