Jump to content

Anyone know how to disable UI bars without taking away control? (Papyr


EnaiSiaion

Recommended Posts

  • 8 years later...

Hey, just posting here -- I know this is an incredibly old post, but this was helpful in finding a solution where I needed to do a fade out/in action and hide menus while doing so. ToggleMenus() won't allow the fade to play, so needed to make the menus transparent before initiating the fade out. I found a way of doing that was much easier for simple operations:

 

UI.SetNumber("Crafting Menu", "_alpha", 0) ;; hide crafting menu

UI.SetNumber("Crafting Menu", "_alpha", 100) ;; show crafting menu

 

Not sure why the _root element is necessary (maybe it was a change for SSE?), but this works just fine with SkyUI. I do see that UI.SetNumber seems to be deprecated in Papyrus, but it seems to still work.

 

EDIT: It appears UI.SetFloat would be the proper non-deprecated way to do.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...