• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[General] How problem with santa hat (Changing colour)

Status
Not open for further replies.
Level 6
Joined
Feb 5, 2012
Messages
1,685
model editing.... you can make a replaceable texture on the hat during the death animation... using model editor..

So to confirm if it is in the animation problem... try playing the death animation of the model if will change the color..
 
Level 19
Joined
Feb 15, 2008
Messages
2,184
sry dont understand what you mean but thnx for reply.

Fact i have a trigger that change the colour orf the hero. And that works fine. its always blue. So its something with the hat i think.

  • Colour
    • Events
      • Map initialization
    • Conditions
    • Actions
      • For each (Integer Variable) from 1 to 5, do (Actions)
        • Loop - Actions
          • Player - Change color of (Player(Variable)) to Blue, Changing color of existing units
      • For each (Integer Variable) from 6 to 10, do (Actions)
        • Loop - Actions
          • Player - Change color of (Player(Variable)) to Green, Changing color of existing units
      • Trigger - Add to Change <gen> the event (Unit - A unit enters (Entire map))
  • Change
    • Events
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Triggering unit) belongs to an ally of Player 1 (Red)) Equal to True
        • Then - Actions
          • Unit - Change color of (Triggering unit) to Red
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Triggering unit) belongs to an ally of Player 6 (Orange)) Equal to True
            • Then - Actions
              • Unit - Change color of (Triggering unit) to Orange
            • Else - Actions
  • Hero Aura
    • Events
      • Unit - A unit Finishes training a unit
      • Unit - A unit Spawns a summoned unit
    • Conditions
      • (Unit-type of (Summoned unit)) Equal to The Butcher
      • (Unit-type of (Trained unit)) Equal to The Butcher
    • Actions
      • Trigger - Run Colour <gen> (ignoring conditions)
 
Status
Not open for further replies.
Top