LlamaDom Posted June 25, 2021 Share Posted June 25, 2021 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? Link to comment Share on other sites More sharing options...
zetake Posted June 25, 2021 Share Posted June 25, 2021 inst.components.hunger:SetPercent(.15) Link to comment Share on other sites More sharing options...
LlamaDom Posted June 25, 2021 Author Share Posted June 25, 2021 Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.