Difference between revisions of "AddItem - ObjectReference"

25 bytes removed ,  12:22, 20 August 2016
m
→‎Notes: shortening link
imported>Tek ml7
imported>SarthesArai
m (→‎Notes: shortening link)
 
(One intermediate revision by one other user not shown)
Line 35: Line 35:
* An item added to a respawning chest using AddItem will most likely not appear. This is due to the chest resetting its contents every day or so. If the player has not talked to the merchant recently, their inventory will reset before they see the item in it.
* An item added to a respawning chest using AddItem will most likely not appear. This is due to the chest resetting its contents every day or so. If the player has not talked to the merchant recently, their inventory will reset before they see the item in it.
* Don't call this function immediately when a game is started/loaded as it does not seem to work. You can have the game [[Wait_-_Utility|Wait]] a second before doing it which should correct this problem.
* Don't call this function immediately when a game is started/loaded as it does not seem to work. You can have the game [[Wait_-_Utility|Wait]] a second before doing it which should correct this problem.
* akItemToAdd can be a LeveledItem. Removal of a LeveledItem, however won't work with [[RemoveItem - ObjectReference]] and the members of the LeveledItem must be passed individually as akItemToRemove.
* akItemToAdd can be a LeveledItem. Removal of a LeveledItem, however won't work with [[RemoveItem - ObjectReference|RemoveItem]] and the members of the LeveledItem must be passed individually as akItemToRemove.
* As of 6/5/2012, it appears that the latest beta patch (1.6) no longer allows for the AddItem method to add an object or objectreference of Form 'Container' to the player's inventory.
* As of Skyrim version 1.6, it is no longer possible to use AddItem to add an Object or ObjectReference of type Container to the player's inventory.


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