Difference between revisions of "Osiris/API/CharacterIsEnemy"
From Divinity Engine Wiki
m |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | ===== 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 ===== | ===== Notes ===== | ||
− | * See [[Osiris/API/CharacterIsAlly|CharacterIsAlly]] | + | * See [[Osiris/API/CharacterIsAlly|CharacterIsAlly]] |
===== See Also ===== | ===== See Also ===== | ||
* [[Osiris/API/CharacterIsAlly|CharacterIsAlly]] | * [[Osiris/API/CharacterIsAlly|CharacterIsAlly]] | ||
* [[Osiris/API/CharacterIsNeutral|CharacterIsNeutral]] | * [[Osiris/API/CharacterIsNeutral|CharacterIsNeutral]] | ||
− | [[Category:Osiris Queries]] | + | [[Category:Osiris Queries|CharacterIsEnemy]] |
Latest revision as of 12:07, 20 December 2017
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 CharacterIsAlly