Mod:Creation Kit/AddItem - ObjectReference

Member of: ObjectReference Script

Adds X of the specified item to this reference's inventory, possibly silently.

Parameters

 * akItemToAdd: The base form add to this reference's inventory. If this is a base object, it will add a newly-created item. If it is a reference, it will move/remove it from own place/container to this container. If a form list, then it will add aiCount of each item in the list.
 * Note: This can accept non-persistent references in containers.
 * aiCount: How many references to add. Note that this must be one if you are passing in an object reference.
 * Default: 1
 * abSilent: If true, no message will be printed to the screen
 * Default: false

Return Value
None.