From Divinity Engine Wiki
- query CharacterGetEquippedWeapon([in](CHARACTERGUID)_Character, [out](GUIDSTRING)_ItemGUID)
Returns in _ItemGUID the weapon wielded by _Character in their right hand.
- 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.
- This is equivalent to CharacterGetEquippedItem for the Weapon slot.