closestealbag

From Arx Libertatis Wiki
Jump to navigation Jump to search

The closestealbag script command is used to close any non-player inventory in the HUD if the player is stealing. This means that the inventory had to be made available for stealing using stealnpc and the player opened it via the steal icon in the HUD.

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.

Use inventory close to close any non-player inventory even if the player is not stealing.

Usage

closestealbag

Context: Ignored

ℹ️  In versions before Arx Libertatis 1.3 this command can only be called from NPCs.