I originally tried this using triggers but I figured there is an easier way in the data editor..
When my hero becomes "incapacitated" from the pre-programmed hero death prevention behavior, I want the protoss spirit death model animation to run. I actually couldn't even get this to work via triggers, but I'm assuming I can just add something to the events for the behavior?
For example: Behavior.Incapacitated.On - Play spirit death animation
I tried to do this but couldn't figure out how and there's like 600 options in the events tab so I had no idea where to even start looking.
You have to note that death is a seperate model. Take Zeratul for example, under the model data, there is no death animation. The death animation is stored in a seperate model file. So what you have to do is probably to do a model swap. But you have to take note about the death effects in your original hero model, or else you will have 2 seperate "death scenes" showing.
Well if it was only a death animation then that would work easily! But since the unit is only going into an 'incapacitated' state, it never actually dies and therefore never actually plays a death animation. What I've been trying to look for is something in the events tab that plays this death animation when the incapacitated behavior is turned on!
Nevermind I got it working! I had to create a whole new actor of the 'model animation style one shot' type and found a way to link it to the behavior turning on.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I originally tried this using triggers but I figured there is an easier way in the data editor..
When my hero becomes "incapacitated" from the pre-programmed hero death prevention behavior, I want the protoss spirit death model animation to run. I actually couldn't even get this to work via triggers, but I'm assuming I can just add something to the events for the behavior?
For example: Behavior.Incapacitated.On
-Play spirit death animationI tried to do this but couldn't figure out how and there's like 600 options in the events tab so I had no idea where to even start looking.
You have to note that death is a seperate model. Take Zeratul for example, under the model data, there is no death animation. The death animation is stored in a seperate model file.
So what you have to do is probably to do a model swap. But you have to take note about the death effects in your original hero model, or else you will have 2 seperate "death scenes" showing.
@onslaughtbear: Go
Well if it was only a death animation then that would work easily! But since the unit is only going into an 'incapacitated' state, it never actually dies and therefore never actually plays a death animation. What I've been trying to look for is something in the events tab that plays this death animation when the incapacitated behavior is turned on!
Nevermind I got it working! I had to create a whole new actor of the 'model animation style one shot' type and found a way to link it to the behavior turning on.