Script:on inventory2 close: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
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 [[Gameplay scripting#Pickpocketing|pickpocketing]], this event is followed by a {{Event|steal|off}} event after the inventory is fully closed. | 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 [[Gameplay scripting#Pickpocketing|pickpocketing]], this event is followed by a {{Event|steal|off}} event after the inventory is fully closed. | ||
The {{Command|inventory close}} and {{Command|inventory open}} commands send this event to the owner of the explicitly or implicitly closed inventory. |
Latest revision as of 12:00, 26 June 2022
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.