I have a model that has a Birth, Stand and Death animation
When a unit get a behavior i want ti play the Birth animation followed by a continuous stand animation. When the Behavior is lost then i want to play the death animation and remove the actor.
How do i write in the events to make this work? I almost got it but cant figure out how to make it perfect.
I havent had an animation play to a behavior, but i would imagine it works like the other animations.
(I dont have access to the editor right now so bear with me)
Actor -> Events-events+
The main thing would be something that has to do with the Behavior activating, like UnitBirth makes the event occur when the unit is created.
ActorOrphan usually means, the actor has lost its assigned object; so it should be destroyed most likely.
You want to edit the actor events of your actor. Probably the best way for your desired effects would be using an animation bracket. These can have specific animations for opening, closing and in between.
So you could try these 3 Events:
Behavior.XXX.On
AnimBracketStart
Name: BSD (or whatever, BSD is the standard for BirthStandDeath)
I have a model that has a Birth, Stand and Death animation
When a unit get a behavior i want ti play the Birth animation followed by a continuous stand animation. When the Behavior is lost then i want to play the death animation and remove the actor.
How do i write in the events to make this work? I almost got it but cant figure out how to make it perfect.
Btw, What si ActorOrphan?
I havent had an animation play to a behavior, but i would imagine it works like the other animations. (I dont have access to the editor right now so bear with me)
Actor -> Events-events+
The main thing would be something that has to do with the Behavior activating, like UnitBirth makes the event occur when the unit is created.
Then the mid part would be playing the animation
-No clue what Actororphan is
ActorOrphan usually means, the actor has lost its assigned object; so it should be destroyed most likely.
You want to edit the actor events of your actor. Probably the best way for your desired effects would be using an animation bracket. These can have specific animations for opening, closing and in between.
So you could try these 3 Events:
@Kueken531: Go
Great! Thanks! i got it to work.