Osiris/API/ItemTemplateAddTo

From Divinity Engine Wiki
Revision as of 16:21, 8 October 2017 by Tinkerer (talk | contribs) (Document ItemTemplateAddTo)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • call ItemTemplateAddTo((STRING)_ItemTemplate, (GUIDSTRING)_Object,(INTEGER)_Count, (INTEGER)_ShowNotification)
Description

Adds _Count instances of the root template _ItemTemplate to _Object. _TargetObject can either be a character or a container object. If _ShowNotification is 1 and _Object is a player, an animation of the item's icon moving towards the player icon in the player list will be shown.

Notes
  • /
See Also