AddItem

From the Oblivion ConstructionSet Wiki
Revision as of 15:11, 7 February 2006 by 10.0.1.94 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.