Osiris/API/ItemToInventory: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
(ItemToInventory)
 
m (link ItemTemplateAddTo)
Line 6: Line 6:
* /
* /
===== See Also =====
===== See Also =====
* [[Osiris/API/ItemTemplateAddTo|ItemTemplateAddTo]]
* Helper [[Osiris/Shared/DB_GiveItemToEvent|DB_GiveItemToEvent]]
* Helper [[Osiris/Shared/DB_GiveItemToEvent|DB_GiveItemToEvent]]
   
   
[[Category:Osiris Calls]]
[[Category:Osiris Calls]]

Revision as of 14:38, 8 October 2017

Full Definition(s)
  • call ItemToInventory((ITEMGUID)_Item,(GUIDSTRING)_TargetObject,(INTEGER)_Amount)
Description

Transfers _Amount instances of _Item to _TargetObject. _TargetObject can either be a character or a container object. This item, or stack of items, must already exist in the game world. You cannot specify a root template as _Item.

Notes
  • /
See Also