Osiris/API/CharacterIsEnemy

From Divinity Engine Wiki
Jump to: navigation, search
Full Definition(s)
  • query CharacterIsEnemy([in](CHARACTERGUID)_Character, [in](CHARACTERGUID)_OtherCharacter, [out](INTEGER)_Bool)
Description

Returns whether _Character is an enemy of _OtherCharacter.

Return Values
  • Success/Failure: Default return value.
  • _Bool: 1 if _Character and _OtherCharacter are enemies, 0 if not.
Notes
See Also