Background for Fallout 4
Member of the RefCollectionAlias script
eventOnItemRemoved(ObjectReferenceakSenderRef, 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

  1. ObjectReferenceakSenderRef

  2. FormakBaseItem

  3. intaiItemCount

  4. ObjectReferenceakItemReference

  5. ObjectReferenceakDestContainer


Examples

Auto-Generated Example

Scriptname MyCoolScript extends RefCollectionAlias

event OnItemRemoved(ObjectReference akSenderRef, Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akDestContainer)
    Debug.trace("Event received - OnItemRemoved: akSenderRef = " + akSenderRef + " akBaseItem = " + akBaseItem + " aiItemCount = " + aiItemCount + " akItemReference = " + akItemReference + " akDestContainer = " + akDestContainer)
endEvent
Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.