Difference between revisions of "Osiris/API/ItemTemplateAddTo"

From Divinity Engine Wiki
Jump to: navigation, search
m (fixed copy/paste error, link ItemToInventory)
m
Line 10: Line 10:
 
* Helper [[Osiris/Shared/DB_GiveTemplateFromPlayerDialogEvent|DB_GiveTemplateFromPlayerDialogEvent]]
 
* Helper [[Osiris/Shared/DB_GiveTemplateFromPlayerDialogEvent|DB_GiveTemplateFromPlayerDialogEvent]]
 
   
 
   
[[Category:Osiris Calls]]
+
[[Category:Osiris Calls|ItemTemplateAddTo]]

Revision as of 16:21, 19 December 2017

Full Definition(s)
  • call ItemTemplateAddTo((STRING)_ItemTemplate, (GUIDSTRING)_Object,(INTEGER)_Count, (INTEGER)_ShowNotification)
Description

Adds _Count instances of the root template _ItemTemplate to _Object. _Object 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