Osiris/API/ItemTemplateRemoveFrom

From Divinity Engine Wiki
Revision as of 10:52, 19 August 2018 by Tinkerer (talk | contribs)
(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