dizietemblesssma Posted June 27, 2021 Posted June 27, 2021 I've read that UI.InvokeString("HUDMenu","_global.skse.OpenMenu","InventoryMenu")will open the player's inventory. I have skse installed and successfully run this function from a hotkey (by which I mean the notification is seen:)Function dz_player_equip_menu() ;OpenMenu("InventoryMenu") ;PlayerRef.OpenInventory() debug.notification("trying to open player inventory") UI.InvokeString("HUDMenu","_global.skse.OpenMenu","InventoryMenu") EndFunctionbut I cannot open the player's inventory, can anyone help? diziet
dylbill Posted June 27, 2021 Posted June 27, 2021 Try using TapKey instead: Function dz_player_equip_menu() ;OpenMenu("InventoryMenu") ;PlayerRef.OpenInventory() If Utility.IsInMenuMode() == False debug.notification("trying to open player inventory") Input.TapKey(Input.GetMappedKey("Quick Inventory")) Endif EndFunction
Recommended Posts