ElMilojita Posted April 23, 2020 Share Posted April 23, 2020 Hello everyone, I want to make woodie hide the hud for health, sanity, hunger whenever he turns into any of his wereforms, I would like to know what code identifies these things inst.HUD.controls.status:SetWereMode(false, skiphudfx) if inst.HUD.beaverOL ~= nil then inst.HUD.beaverOL:Hide() inst.sanity:Show() inst.heart:Show() inst.stomach:Show() end the game keeps crashing with my mod for "sanity" not being a invalid index, I borrowed some code to try see if these were the appropriate ones but it did not work. the rest of the code are some statements that make the wereform badge show up and I try to hide it whenever it is showing. Link to comment https://forums.kleientertainment.com/forums/topic/117583-code-for-hiding-health-sanity-hunger-icons/ Share on other sites More sharing options...
ElMilojita Posted April 24, 2020 Author Share Posted April 24, 2020 welp, after mining through the game files I found the code I needed inst.HUD.beaverOL:Hide() inst.HUD.controls.status.heart:Show() inst.HUD.controls.status.brain:Show() this is solved, thanks everyone for your time. Link to comment https://forums.kleientertainment.com/forums/topic/117583-code-for-hiding-health-sanity-hunger-icons/#findComment-1327532 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