Difference between revisions of "Osiris/API/HasAppliedStatus"

From Divinity Engine Wiki
Jump to: navigation, search
(Osiris Core APIs)
 
m
Line 7: Line 7:
 
* '''_Bool''': 0 if '''_Status''' has not been applied to '''_Target''', 1 if it has been.
 
* '''_Bool''': 0 if '''_Status''' has not been applied to '''_Target''', 1 if it has been.
 
===== Notes =====
 
===== Notes =====
* In virtually all cases, use '''HasActiveStatus''' instead. The main purpose of this query is for crime reactions, and is only needed due to frame delays between code and Osiris.
+
* In virtually all cases, use [[Osiris/API/HasActiveStatus|HasActiveStatus]] instead. The main purpose of this query is for crime reactions, and is only needed due to frame delays between code and Osiris.
 
===== See Also =====
 
===== See Also =====
* [[Osiris/API/HasActiveStatus]]
+
* [[Osiris/API/HasActiveStatus|HasActiveStatus]]
 
   
 
   
 
[[Category:Osiris Queries]]
 
[[Category:Osiris Queries]]

Revision as of 21:47, 25 August 2017

Full Definition(s)
  • query HasAppliedStatus([in](GUIDSTRING)_Target, [in](STRING)_Status, [out](INTEGER)_Bool)
Description

Returns whether _Status has been applied to _Target. _Target may or may not yet actually be under its influence.

Return Values
  • Success/Failure: Default return value.
  • _Bool: 0 if _Status has not been applied to _Target, 1 if it has been.
Notes
  • In virtually all cases, use HasActiveStatus instead. The main purpose of this query is for crime reactions, and is only needed due to frame delays between code and Osiris.
See Also