Jump to content

Recommended Posts

So I'm trying to hide specific parts of the hud without hiding the entire thing like "HUD:Hide()" does

 

I know how to hide the specific status bars like health and hunger with "class.heart:Hide()" and "class.stomach:Hide()"

 

And I've been digging through the different screen and widget files looking for ways to hide the inventory bar and crafting hud, but I just can't figure it out.

can those two widgets even be hidden with the same method? (class.whatever:Hide())

 

It should be the same method. I believe the relevant files are 'widgets/controllercrafting.lua' and 'widgets/inventorybar.lua', but you may run into issues finding runtime references to them. The backpack and similar widgets would likely have to be hidden separately.

It should be the same method. I believe the relevant files are 'widgets/controllercrafting.lua' and 'widgets/inventorybar.lua', but you may run into issues finding runtime references to them. The backpack and similar widgets would likely have to be hidden separately.

 

that's where I've been looking. But yea, I just can't find their references. It's strange because they don't look much different from the code for the health bars but apparently they just aren't created the same

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...