Difference between revisions of "Osiris/API/CharacterIsIncapacitated"

From Divinity Engine Wiki
Jump to: navigation, search
(CharacterIsIncapacitated query)
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
===== Full Definition(s) =====
 
===== Full Definition(s) =====
* query '''CharacterIsIncapacitated'''('''''[in]'''(CHARACTERGUID)'''''_Character''', '''''[out]'''''(INTEGER)'''_Incapacitated''')
+
* query '''CharacterIsIncapacitated'''('''''[in]'''(CHARACTERGUID)'''''_Character''', '''''[out]'''(INTEGER)'''''_Incapacitated''')
 
===== Description =====
 
===== Description =====
Returns whether '''_Character''' is currently incapacitated, such as frozen, petrified, stunned, knocked down, ...
+
Returns whether '''_Character''' is currently incapacitated, such as frozen, petrified, stunned, knocked down, or contrained, but also sitting, lying or climbing.
 
===== Return Values =====
 
===== Return Values =====
* '''Success/Failure''': Fails if '''_Character''' does not exist'''.'''
+
* '''Success/Failure''': Fails if '''_Character''' does not exist.
* '''_Incapacitated''': '''1''' if '''_Character''' is currently incapacitated, '''0''' if not'''.'''
+
* '''_Incapacitated''': '''1''' if '''_Character''' is currently incapacitated, '''0''' if not.
 
===== Notes =====
 
===== Notes =====
 
* /
 
* /
Line 11: Line 11:
 
* /
 
* /
 
   
 
   
[[Category:Osiris Queries]]
+
[[Category:Osiris Queries|CharacterIsIncapacitated]]

Latest revision as of 13:06, 26 September 2019

Full Definition(s)
  • query CharacterIsIncapacitated([in](CHARACTERGUID)_Character, [out](INTEGER)_Incapacitated)
Description

Returns whether _Character is currently incapacitated, such as frozen, petrified, stunned, knocked down, or contrained, but also sitting, lying or climbing.

Return Values
  • Success/Failure: Fails if _Character does not exist.
  • _Incapacitated: 1 if _Character is currently incapacitated, 0 if not.
Notes
  • /
See Also
  • /