EverSoNitro Posted July 27, 2017 Author Share Posted July 27, 2017 Is there a function I can write in the food luas that checks for a character's tag? I'd actually also like to make it so one of my friend's characters gets a bonus from it, and having the food check for different characters, and acting accordingly, seems like it'd be simpler than having them checking for the food's tag Link to comment https://forums.kleientertainment.com/forums/topic/80818-help-creating-wearable-items/page/2/#findComment-942073 Share on other sites More sharing options...
ZupaleX Posted July 27, 2017 Share Posted July 27, 2017 Well then you have 2 possibility AddComponentPostInit on "edible" and modify the GetSanity, GetHealth and GetHunger functions AddComponentPostInit on "eater" and modify the Eat (easier but messier) Otherwise you could also write a oneat function that you apply to both your characters and you do not need to alter any component like that Link to comment https://forums.kleientertainment.com/forums/topic/80818-help-creating-wearable-items/page/2/#findComment-942089 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