Mod:Creation Kit/OnItemAdded - ObjectReference

Member of: ObjectReference Script

Event received when an item is inserted into this object's container. Only arrives if it matches an inventory filter in place on the script receiving the event.

Parameters

 * akBaseItem: The base object for the item that was added to this container.
 * aiItemCount: The number of items added to this container.
 * akItemReference: The specific reference added to the container, if any. Will be None if a non-persistant object is added.
 * akSourceContainer: The container that the object(s) came from. If None, then the object came from the world.