• 🏆 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!

Name Color Change Trigger

Status
Not open for further replies.
Level 14
Joined
Jul 28, 2009
Messages
1,085
Hey guys,
Does anyone of you guys know
a way there is to change a certain player unit color?

Let me explain it better.. ehm..

When someone with ex the name: Sheep
plays the game, his & only his unit will change color to.. lets say red.
And his unit is the only one changing the color because his name is used in the trigger. Like some sort of a VIP skin.



 
Level 12
Joined
Oct 7, 2010
Messages
447
Is this what you are looking for?
  • Trigger
    • Events
      • Time - Elapsed game time is 0.10 seconds
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 12, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Name of (Player((Integer A)))) Equal to Sheep
            • Then - Actions
              • Player - Change color of (Player((Integer A))) to Red, Changing color of existing units
            • Else - Actions
It checks every player for their name, if one of the player name is Sheep, then his color will be changed. That's what i understood from your question. hope i didn't understood wrongly. D:
 
Status
Not open for further replies.
Top