Difference between revisions of "AddItem"
More standardizing
imported>Haama m (Standardized) |
imported>Haama (More standardizing) |
||
Line 1: | Line 1: | ||
__NOTOC__ | |||
'''Syntax:''' | '''Syntax:''' | ||
[''ActorID''|''ContainerID''.]AddItem ''ObjectID'', ''Count'' | [''ActorID''|''ContainerID''.]AddItem ''ObjectID'', ''Count'' | ||
Adds ''Count'' items of object ''ObjectID'' to the calling container's inventory. | |||
'''Examples:''' | '''Examples:''' | ||
Line 14: | Line 15: | ||
set count to 1 | set count to 1 | ||
player.additem MyItem Count | player.additem MyItem Count | ||
==Notes== | ==Notes== | ||
Line 47: | Line 47: | ||
*Note: The yy part of the formID is only relevent in user-created plugins, not offical plugins, offical plugins "use" the same yy part of the form ID as the main data file(oblivion.esm) - 00. | *Note: The yy part of the formID is only relevent in user-created plugins, not offical plugins, offical plugins "use" the same yy part of the form ID as the main data file(oblivion.esm) - 00. | ||
==See Also== | ==See Also== |