2 Animations
Hey hey
So I got animation A that my actor should do while its passive.
Animation B should play when when the actor have collided, but it only plays while its colliding.
When the actor collides it starts B but I need it to play B till finish. We could call B to be a death animation, so I can't have the actor starting A again and have the actor jumping again and suddenly disappear.
Also, I have several actors of this kind on the map.
How can i make B the "prioritized" animation?
So I got animation A that my actor should do while its passive.
Animation B should play when when the actor have collided, but it only plays while its colliding.
When the actor collides it starts B but I need it to play B till finish. We could call B to be a death animation, so I can't have the actor starting A again and have the actor jumping again and suddenly disappear.
Also, I have several actors of this kind on the map.
How can i make B the "prioritized" animation?
Best Answer
-
tatiang Posts: 11,949
Try changing a boolean attribute such as game.dying to true when animation B starts. Then on the rule for actor A, only animate when game.dying is false.New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User