Osiris/API/ItemGetRuneItemTemplate

From Divinity Engine Wiki
Jump to: navigation, search
Full Definition(s)
  • query ItemGetRuneItemTemplate([in](ITEMGUID)_Item, [in](INTEGER)_Slot, [out](STRING)_Template)
Description

Returns the root template for the rune in slot _Slot of _Item. _Slot is 0 for the first slot, 1 for the second slot, etc.

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