- Found in:
- Vanilla
eventOnItemRemoved(FormakBaseItem, intaiItemCount, ObjectReferenceakItemReference, ObjectReferenceakDestContainer)
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
Parameters
FormakBaseItem
intaiItemCount
ObjectReferenceakItemReference
ObjectReferenceakDestContainer
Examples
Auto-Generated Example
Scriptname MyCoolScript extends ActiveMagicEffect
event OnItemRemoved(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akDestContainer)
Debug.trace("Event received - OnItemRemoved: akBaseItem = " + akBaseItem + " aiItemCount = " + aiItemCount + " akItemReference = " + akItemReference + " akDestContainer = " + akDestContainer)
endEvent