Osiris/API/ItemToInventory

From Divinity Engine Wiki
Revision as of 15:38, 8 October 2017 by Tinkerer (talk | contribs)
Jump to: navigation, search
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 (use ItemTemplateAddTo instead in that case).

Notes
  • /
See Also