How to change animation? [SOLVED]
BasGoodboy
Member, PRO Posts: 310
Hey all,
I noticed that it isn't possible on a simple way to have an actor with an animation change animation.
Of course I know other ways to fix this (destroying old actor with animation and spawn new one with other animation on old one) to fix this but isn't there an easier method to change animation?
Example:
Dragon image of a dragon which blinks eyes now and then
I want to change animation/image when hero character is close to dragon who pulls his hand towards hero.
Best regards,
Bas Goodboy
Goodboi Gamestudios | Monster Jumper now on the App Store
Comments
You need to make an Int attribute to keep track the animation state of you're character . And if you want to stop the animation, I usually go for a simple "idle" animation .
We have a free template called animation controller but due to forum rules i cant post a link so use the search box over at DBA if you want to check it out.
Darren.
Thanks guys!
Goodboi Gamestudios | Monster Jumper now on the App Store