Background for Fallout 4
Member of the ActiveMagicEffect script
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

  1. FormakBaseItem

  2. intaiItemCount

  3. ObjectReferenceakItemReference

  4. 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
Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.