Difference between revisions of "AddItem"

3 bytes removed ,  20:12, 10 December 2007
More standardizing
imported>Haama
m (Standardized)
imported>Haama
(More standardizing)
Line 1: Line 1:
Adds ''Count'' items of object ''ObjectID'' to the calling container's inventory.
__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.
<br/><br/>


==See Also==
==See Also==
Anonymous user