#MarsMarine - Section 66 - Player death.
I successfully get the transition state to play the death animation at 0 health, yet message log throws the exception saying it can’t read the variable.
Is it because its running the code every frame as its on the Update Animation? (still has the error if I stop the game while player is alive too.)
I also tried to add a ‘is valid’ on the exec, but that made no difference.
Thanks for any assistance in advance.
Since no one replied to my question, I figured this out. I changed the function to check the Boolean value at the initial cast to player pawn and that resolved the boolean check returning the none value.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.