How do you prevent a unit from playing a specific stand variation animation?
The problem occured to me when I saw a bear (wc3 model) sitting down in between attacks (which is the "stand 03" animation).
I've tried myself by messing around under Events in the Actor Data section. My first approach was to make an event that responded to when that specific animation is playing (stand 03) and then set the animation completion to 100%. Since that failed, I tried testing to see if the event was responding at all by changing the tint color of the unit as the action, but I cannot seem to make the game recognize the event and the bear just sits down anyway with no following effect.
I realize there are probably more ways to do this so I'll be happy to know any solution!
The only "stand" property I can find is the one that is connected to "Unit Construction.Unit.Finish - AnimPlay ConstructionDeath Stand, Birth, Death" but I don't think that's the one to configure. If it is I will need help with what action to put in, cause I failed to make it work. Otherwise I'm afraid you need to point out specifically what it is called.
Thanks for your help though, I did find some interesting things in my search for other usage.
How do you prevent a unit from playing a specific stand variation animation?
The problem occured to me when I saw a bear (wc3 model) sitting down in between attacks (which is the "stand 03" animation). I've tried myself by messing around under Events in the Actor Data section. My first approach was to make an event that responded to when that specific animation is playing (stand 03) and then set the animation completion to 100%. Since that failed, I tried testing to see if the event was responding at all by changing the tint color of the unit as the action, but I cannot seem to make the game recognize the event and the bear just sits down anyway with no following effect.
I realize there are probably more ways to do this so I'll be happy to know any solution!
Thanks a lot for looking into this!
go to the actor of the unit and change the, dunno how it is called, default animation for stand and walk to stand 01 for stand.
The only "stand" property I can find is the one that is connected to "Unit Construction.Unit.Finish - AnimPlay ConstructionDeath Stand, Birth, Death" but I don't think that's the one to configure. If it is I will need help with what action to put in, cause I failed to make it work. Otherwise I'm afraid you need to point out specifically what it is called.
Thanks for your help though, I did find some interesting things in my search for other usage.
not in the events of the actor, on the actor itself. baseline animations
Ah I see. That worked!
This will be useful for other warcraft 3 units as well. Now I don't have to watch my footmens drinking beer in between attacks.
My problem is solved.
Thanks a lot for your help FunkyUserName.