the actor "zerling" has several links to models, one of them is the death animation.
the actor "zergling_death" has only the soundfile linked.
(see attachments)
I already tried what you are suggesting, that I call the zergling_death actor. But because theres only a sound file linked in this actor, it only plays the death sound and not any animation.
how do I switch the current model on an actor? should "model swap" work ?
I thought when the models are linked in an actor it chooses the appropriate model itself when a certain animation is called.
I'm working on a new ability and I want to play the death animation for that unit when it uses that ability.
The problem is now that the (correct) animation won't play.
I used the action "animation play" with "Name: Death, Animation Properties: Death"
I tried different combinations, names, properties,.. but instead of playing the death animation the unit disappears.
I'm using the Zergling unit -> the death model is part of the zergling actor.
As a very messy workaround I created an action which creates an actor with the death animation as model and killed the actor afterwards.
Am I missing something here? How can I play the death animation for a unit (in this case zergling)??
0
this looks promising. You should add a hero who has special abilities and/or spells to buff units.
0
@ezbeats: Go
the actor "zerling" has several links to models, one of them is the death animation.
the actor "zergling_death" has only the soundfile linked.
(see attachments)
I already tried what you are suggesting, that I call the zergling_death actor. But because theres only a sound file linked in this actor, it only plays the death sound and not any animation.
@xhatix: Go
how do I switch the current model on an actor? should "model swap" work ?
I thought when the models are linked in an actor it chooses the appropriate model itself when a certain animation is called.
0
still haven't figured it out :(
0
I'm working on a new ability and I want to play the death animation for that unit when it uses that ability.
The problem is now that the (correct) animation won't play.
I used the action "animation play" with "Name: Death, Animation Properties: Death" I tried different combinations, names, properties,.. but instead of playing the death animation the unit disappears. I'm using the Zergling unit -> the death model is part of the zergling actor.
As a very messy workaround I created an action which creates an actor with the death animation as model and killed the actor afterwards.
Am I missing something here? How can I play the death animation for a unit (in this case zergling)??