Difference between revisions of "Osiris/API/ItemTemplateRemoveFrom"
From Divinity Engine Wiki
(document ItemTemplateRemoveFrom) |
m |
||
Line 9: | Line 9: | ||
* Helper [[Osiris/Shared/DB_GiveTemplateFromPlayerDialogEvent|DB_GiveTemplateFromPlayerDialogEvent]] | * Helper [[Osiris/Shared/DB_GiveTemplateFromPlayerDialogEvent|DB_GiveTemplateFromPlayerDialogEvent]] | ||
− | [[Category:Osiris Calls]] | + | [[Category:Osiris Calls|ItemTemplateRemoveFrom]] |
Revision as of 16:21, 19 December 2017
Full Definition(s)
- call ItemTemplateRemoveFrom((STRING)_ItemTemplate, (GUIDSTRING)_Object,(INTEGER)_Count)
Description
Destroys up to _Count instances of the root template _ItemTemplate that are in _Object's inventory. _Object can either be a character or a container object. If _Object has fewer than the specified number of _ItemTemplate items, the ones it has are still destroyed.
Notes
- /