Osiris/API/ItemTemplateRemoveFrom

From Divinity Engine Wiki
Revision as of 15:33, 8 October 2017 by Tinkerer (talk | contribs) (document ItemTemplateRemoveFrom)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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