AddItem
Jump to navigation
Jump to search
Syntax:
AddItem ObjectID, Count
Example:
AddItem MyObject, 1
Adds Count items of object ObjectID to the calling container's inventory.
NOTE: This will not trigger OnAdd blocks, because the item is created inside the inventory rather than actually being added. For creating items from the console that you need to trigger OnAdd, use PlaceAtMe instead and pick the item up from the ground.