Jump to content

Recommended Posts

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.

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
×
  • Create New...