Osiris/API/CharacterIsNeutral: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
===== Full Definition(s) =====
* query '''CharacterIsNeutral'''('''''[in]'''(CHARACTERGUID)'''''_Character''', '''''[in]'''(CHARACTERGUID)'''''_OtherCharacter''', '''''[out]'''(INTEGER)'''''_Bool''')
===== Description =====
Returns whether '''_Character''' and '''_OtherCharacter''' are neutral to each other.
===== Return Values =====
* '''Success/Failure''': Default return value.
* '''_Bool''': '''1''' if '''_Character''' and '''_OtherCharacter''' are neutral to each other, '''0''' if not.
===== Notes =====
===== Notes =====
* See [[Osiris/API/CharacterIsAlly|CharacterIsAlly]] for detailed information, except that this query returns whether the characters are neutral.
* See [[Osiris/API/CharacterIsAlly|CharacterIsAlly]].
===== See Also =====
===== See Also =====
* [[Osiris/API/CharacterIsAlly|CharacterIsAlly]]
* [[Osiris/API/CharacterIsAlly|CharacterIsAlly]]
* [[Osiris/API/CharacterIsEnemy|CharacterIsEnemy]]
* [[Osiris/API/CharacterIsEnemy|CharacterIsEnemy]]
   
   
[[Category:Osiris Queries]]
[[Category:Osiris Queries|CharacterIsNeutral]]

Latest revision as of 11:08, 20 December 2017

Full Definition(s)
  • query CharacterIsNeutral([in](CHARACTERGUID)_Character, [in](CHARACTERGUID)_OtherCharacter, [out](INTEGER)_Bool)
Description

Returns whether _Character and _OtherCharacter are neutral to each other.

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