🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!
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.