Osiris/API/HasAppliedStatus

From Divinity Engine Wiki
Revision as of 14:52, 8 August 2017 by Tinkerer (talk | contribs) (Osiris Core APIs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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