Difference between revisions of "Osiris/API/ItemTemplateRemoveFrom"
From Divinity Engine Wiki
(document ItemTemplateRemoveFrom) |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
* / | * / | ||
===== See Also ===== | ===== See Also ===== | ||
+ | * [[Osiris/API/GetTemplate|GetTemplate]] | ||
+ | * [[Osiris/API/ItemTemplateAddTo|ItemTemplateAddTo]] | ||
* Helper [[Osiris/Shared/DB_GiveTemplateFromNpcToPlayerDialogEvent|DB_GiveTemplateFromNpcToPlayerDialogEvent]] | * Helper [[Osiris/Shared/DB_GiveTemplateFromNpcToPlayerDialogEvent|DB_GiveTemplateFromNpcToPlayerDialogEvent]] | ||
* Helper [[Osiris/Shared/DB_GiveTemplateFromPlayerDialogEvent|DB_GiveTemplateFromPlayerDialogEvent]] | * Helper [[Osiris/Shared/DB_GiveTemplateFromPlayerDialogEvent|DB_GiveTemplateFromPlayerDialogEvent]] | ||
− | [[Category:Osiris Calls]] | + | [[Category:Osiris Calls|ItemTemplateRemoveFrom]] |
Latest revision as of 10:52, 19 August 2018
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
- /