Sign in to follow this  
LlamaDom

[SOLVED] Help with setting health for character after action

Recommended Posts

LlamaDom    1

my SO and I are finishing up a character and need to do some tweaking! We wanted to make it so if the character eats monster meat, its hunger falls to a certaint percent (15%) or number (25). We got the eating monstermeat part, but we're having trouble with the setting hunger part. We've tried using inst.components.health, but that doesnt seem to work. any suggestions?

Edited by LlamaDom

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this