FlutterDashing Posted November 21, 2014 Share Posted November 21, 2014 I need to obtain the players health but I'm not sure how to. I've searched all over the internet and have not found any working components.if inst.components.health.(????) < 50 thenWhat would I need to put in there? I've tried :getHealth() and .current but they return nil. Link to comment https://forums.kleientertainment.com/forums/topic/44582-request-help-how-do-i-get-characters-health/ Share on other sites More sharing options...
Mobbstar Posted November 22, 2014 Share Posted November 22, 2014 inst.components.health.currenthealth or inst.components.health.maxhealthThe meanings should be self-explainatory. You can check those by going to the data folder, then scripts, ... Link to comment https://forums.kleientertainment.com/forums/topic/44582-request-help-how-do-i-get-characters-health/#findComment-572191 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