puningtilde Posted January 8, 2015 Share Posted January 8, 2015 Ok, so I've been working on a custom character for a few days now(first mod). And I added a trait that made his max hunger 225. When the game starts out he does have a max hunger of 225, but he starts out with 150 hunger. How do I make him start out with max hunger? Btw im new to this stuff so if I might need some details on things. Link to comment https://forums.kleientertainment.com/forums/topic/48707-need-help-with-character-traits/ Share on other sites More sharing options...
Mobbstar Posted January 8, 2015 Share Posted January 8, 2015 inst.components.hunger.current = VAL The Value can be inst.components.hunger.max My components guide has additional information about hunger. (link in the signature below) Link to comment https://forums.kleientertainment.com/forums/topic/48707-need-help-with-character-traits/#findComment-598752 Share on other sites More sharing options...
puningtilde Posted January 8, 2015 Author Share Posted January 8, 2015 inst.components.hunger.current = VALThe Value can be inst.components.hunger.maxMy components guide has additional information about hunger. (link in the signature below)Thanks a bunch! Link to comment https://forums.kleientertainment.com/forums/topic/48707-need-help-with-character-traits/#findComment-598789 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