Osiris/API/ItemRemoveRune

From Divinity Engine Wiki
Revision as of 23:14, 22 February 2018 by Tinkerer (talk | contribs) (Documented ItemRemoveRune)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • auery ItemRemoveRune([in](CHARACTERGUID)_Character, [in](ITEMGUID)_Item, [in](INTEGER)_Slot, [out](ITEMGUID)_Rune)
Description

Removes the rune from rune slot _Slot of item _Item. If _Character is valid, the removed rune will be added to its inventory.

See ItemGetRuneItemTemplate for the interpretation of the _Slot parameter.

Return Values
  • Success/Failure: Fails if _Item is invalid, if _Slot is >= than the number of slots the item has, or if no rune is inserted in the specified slot. Specifying a value < 0 for _Slot will result in undefined behaviour.
  • _Rune: The removed rune.
Notes
  • This query is new in DOS2 Patch 6.
See Also