1191 {
1193
1194 if ( !menu &&
g_Game.GetPlayer().GetHumanInventory().CanOpenInventory() && !
g_Game.GetPlayer().IsInventorySoftLocked() )
1195 {
1197 {
1199 }
1200
1202 {
1204 PlayerBase.Cast(
g_Game.GetPlayer()).OnInventoryMenuOpen();
1205 }
1208 }
1209 }
override void AddActiveInputExcludes(array< string > excludes)
Adds one or more exclude groups to disable and refreshes excludes.
override void AddActiveInputRestriction(int restrictor)
Adds one input restriction (specific behaviour oudside regular excludes, defined below)
ref InventoryMenu m_InventoryMenu
proto native UIScriptedMenu GetMenu()
Returns most-top open menu.
proto native UIScriptedMenu ShowScriptedMenu(UIScriptedMenu menu, UIMenuPanel parent)