ToggleInventory

ToggleInventory
void ToggleInventory ( bool ToggleState, int Window  )

Function is located within Inventory/script/INV_Scripts.dh

Parameters:

 * ToggleState - may be forced by returning TOGGLE_ON, otherwise toggles off by default.
 * Window - int pointer to Window pointer array

Description:
ToggleInventory simply toggles the inventory script dependant on the window chosen. It is called by stash actors and by the player calling ToggleMainInventory;