SenL Posted February 22, 2015 Share Posted February 22, 2015 What are the differences? Example in spider cage: inst.AnimState:PlayAnimation("place")inst.AnimState:PushAnimation("idle_spider", true) Thanks. Link to comment https://forums.kleientertainment.com/forums/topic/51285-animstate-playanimation-vs-pushanimation/ Share on other sites More sharing options...
NikMik Posted February 22, 2015 Share Posted February 22, 2015 inst.AnimState:PlayAnimation("place") will tell it to skip whatever animation it's doing and just do the animation now. inst.AnimState:PushAnimation("idle_spider", true) will tell it to wait until it's finished playing whatever animation it is playing, and make it play that animation afterwards. Link to comment https://forums.kleientertainment.com/forums/topic/51285-animstate-playanimation-vs-pushanimation/#findComment-615383 Share on other sites More sharing options...
SenL Posted February 22, 2015 Author Share Posted February 22, 2015 Ok that makes sense.Thank you. Now I need to learn how to do Spriter correctly because my animation is overlapping... Link to comment https://forums.kleientertainment.com/forums/topic/51285-animstate-playanimation-vs-pushanimation/#findComment-615385 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now