Osiris/API/CharacterGetEquippedWeapon

From Divinity Engine Wiki
Revision as of 15:36, 21 December 2017 by LarIlya (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • query CharacterGetEquippedWeapon([in](CHARACTERGUID)_Character, [out](GUIDSTRING)_ItemGUID)
Description

Returns in _ItemGUID the weapon wielded by _Character in their right hand.

Return Values
  • Success/Failure: Fails if _Character does not exist, or if the character is not wielding a weapon in their right hand.
  • _ItemGuid: The weapon equipped by _Character in their main (right) hand.
Notes
See Also