Wolfpack49 Posted August 2, 2021 Share Posted August 2, 2021 Not sure if anyone knows the name of the section of the Inventory and Crafting menus that allow you to click on and rotate the visual item. I'm attempting to hide/show the crafting menu by making it transparent, and it is working well except for the item inspector. I can't seem to hide the "rotatable" item visual the way that Debug.ToggleMenus() does (I can't use ToggleMenu because reasons). Currently I am doing a simple: UI.SetFloat("Crafting Menu", "_alpha", 0) UI.SetFloat("Crafting Menu", "_alpha", 100)Does anyone happen to know what ToggleMenus() does that hiding the individual menu does not? I've basically tried all the menus in the Papyrus CK documentation, but nothing seems to be able to affect the inspector. I've also tried offsetting on the _x and _y axis as well as Game.DisablePlayerControls() and Game.SetHudCartMode(). Link to comment Share on other sites More sharing options...
IsharaMeradin Posted August 3, 2021 Share Posted August 3, 2021 The NIF file for the inventory object contains an XYZ offset which positions it on the right hand side of the screen when in the various menus. The only way to make them not show in that area is to change the XYZ offset. I do not think it can be changed via papyrus script. Also it should be noted that there are some exceptions that do not use the dedicated inventory offset and changing those values could cause issues elsewhere. FYI - the "item inspector" as you call it is part of those menus. It is not a separate menu. The item is just not part of the UI overlay and thus cannot be made transparent with what you are using. You may need to dig into the SWF files to see what the element in the menu is called. Hopefully with that information you could possibly affect it with one or more of the UI.psc functions. But I have no idea. SWF stuff is beyond me. Link to comment Share on other sites More sharing options...
Wolfpack49 Posted August 3, 2021 Author Share Posted August 3, 2021 Thanks Ishara, I had a feeling it would be buried in the swf somewhere (which I am avoiding lol!). I tried the _x and _y params, and it offset all the menus successfully except for the NIF visual. Searching around, I think maybe just closing the menu may be a good alternative: UI.InvokeString("HUD Menu", "_global.skse.CloseMenu", "Crafting Menu")This means I can't display the crafting menu when done, but I think that's fine for my purposes. Link to comment Share on other sites More sharing options...
Recommended Posts