- Found in:
- Vanilla
eventOnItemRemoved(ObjectReferenceakSenderRef, FormakBaseItem, intaiItemCount, ObjectReferenceakItemReference, ObjectReferenceakDestContainer, intaiTransferReason)
Description
Documentation Comment
Event received when an item is removed from this object's inventory. If the item is a persistant reference, akItemReference
will point at it - otherwise the parameter will be None. For valid Transfer Reasons please refer to the wiki.
Parameters
ObjectReferenceakSenderRef
FormakBaseItem
intaiItemCount
ObjectReferenceakItemReference
ObjectReferenceakDestContainer
intaiTransferReason
Examples
Auto-Generated Example
Scriptname MyCoolScript extends RefCollectionAlias
event OnItemRemoved(ObjectReference akSenderRef, Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akDestContainer, int aiTransferReason)
Debug.trace("Event received - OnItemRemoved: akSenderRef = " + akSenderRef + " akBaseItem = " + akBaseItem + " aiItemCount = " + aiItemCount + " akItemReference = " + akItemReference + " akDestContainer = " + akDestContainer + " aiTransferReason = " + aiTransferReason)
endEvent