OnUnAcquireItem
The script attached to this event fires when an item is removed from the PC's inventory. It can be useful to stop the Balor you have chasing the rogue when he drops the Vorpal Longsword +3 he just found or place the item in a common location (such as the Divining Pool in the Halls of Justice) if it is a Plot item.
Trigger
When an item has been dropped or removed.
Function(s)
GetModuleItemLost()
return the item that was lost.
GetModuleItemLostBy()
returns the former owner of the item that was lost.
Known Bugs
This event does not fire when an item that is stacked in inventory is lost (i.e. a potion that is stacked is used) or when gold is spent or taken.
See Also
Objects with Events | Module | |
functions: | GetModuleItemLost | GetModuleItemLostBy |
Send comments on this topic.