Osiris/API/ItemTemplateRemoveFrom

From Divinity Engine Wiki
Jump to: navigation, search
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
  • /
See Also