on inventory2_close

From Arx Libertatis Wiki
Jump to navigation Jump to search

The inventory2_close script event is sent by Am Shaegar (player) to the owning entity when closing non-player inventories. This event never has any parameters.

This event is sent immediately when closing the inventory, before it is fully closed and the contents become invisible. When the inventory was opened by pickpocketing, this event is followed by a steal off event after the inventory is fully closed.

The inventory close and inventory open commands send this event to the owner of the explicitly or implicitly closed inventory.