- Home /
Question by
Gameeeee24 · Nov 30, 2017 at 02:49 PM ·
animationplayerdead
When my player dies and i hit revive button my player hp becomes 100 and i can play it, But here's the problem my animation is still dead, can anyone help me thankyouuu so much

aaaa.png
(199.4 kB)
Comment
Reset your animation to the correct animation in the script that handles revival? Or atleast show the script.
Best Answer
Answer by Darkforge317 · Nov 30, 2017 at 03:21 PM
Give us code or we won't be able to see where the problem is. Once you give code I'll be able to edit my answer and help you.
You must have a bool like isDead that's set to true and you forgot to set it to false. Or maybe there's a state machine that you forgot to switch.
Thankyouuu i really forgot the bool like isDead that's set to false. but there's a one problem , $$anonymous$$y player needs to be attacked by the enemy to correct the animation player ,
aaaaaaaaaaaaaaaaaaaaaa.png
(84.0 kB)
I don't understand what you're saying. But can't you just start the idle animation in the revive method?
Your answer