//load the inventory window
var WinInventoryOpen =
Game.
LoadWindow("interface\inventory\inventory.window");
//load the inventory bag icon
var WinInventoryIcon =
Game.
LoadWindow("interface\inventory\inventoryicon.window");
//Hide the inventory window
WinInventoryOpen.
Active =
false;
//hide the inventory icon
WinInventoryIcon.
Active =
false;