Background for Skyrim SE
Member of the ReferenceAlias 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 ReferenceAlias

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 Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.