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 _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.