Osiris/API/HasAppliedStatus
From Divinity Engine Wiki
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 _Target is currently not under the influence of _Status, 1 if it is.
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.