inventory close

From Arx Libertatis Wiki
Revision as of 11:51, 19 June 2022 by Ds (talk | contribs) (Created page with "{{ScriptCommandPage |description=close any non-player inventory in the HUD |context=any |intro=This command does not have any effect if the calling entity did not have an inventory created using {{Command|inventory create}} but it will close any opened non-player inventory. The player can also close the inventory from the HUD and the inventory will automatically close once the player is 350 units away from the inventory owner unless the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The inventory close script command is used to close any non-player inventory in the HUD for an entity. This command does not have any effect if the calling entity did not have an inventory created using inventory create but it will close any opened non-player inventory.

The player can also close the inventory from the HUD and the inventory will automatically close once the player is 350 units away from the inventory owner unless the player is has the Telekinesis (Spacium Rune (field)Comunicatum Rune (control)) spell active in which case the maximum distance is 900 units.

Closing the non-player inventory also resets the steal entity.

To only close the inventory if the player is stealing use closestealbag.

Usage

inventory close

Context: Any Entity