Difference between revisions of "Osiris/API/CharacterIsNeutral"

From Divinity Engine Wiki
Jump to: navigation, search
(Osiris Core APIs)
 
m
 
(2 intermediate revisions 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]] 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]]
+
* [[Osiris/API/CharacterIsAlly|CharacterIsAlly]]
* [[Osiris/API/CharacterIsEnemy]]
+
* [[Osiris/API/CharacterIsEnemy|CharacterIsEnemy]]
 
   
 
   
[[Category:Osiris Queries]]
+
[[Category:Osiris Queries|CharacterIsNeutral]]

Latest revision as of 12: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