Osiris/API/CharacterCanIgnoreActiveCrimes
From Divinity Engine Wiki
Full Definition(s)
- query CharacterCanIgnoreActiveCrimes([in](CHARACTERGUID)_Character, [out](INTEGER)_Bool)
Description
Check whether all unresolved crimes registered for the player character _Character can be removed.
Return Values
- Success/Failure: Fails if _Character does not exist or is not in a party.
- _Bool: 1 if all unresolved crimes registered for _Character can be removed (= permanently ignored), 0 otherwise.
Notes
- The only case in which this query can fail (other than by specifying invalid parameters), is when _Character is currently being confronted for one their crimes (= in a crime dialog).
- This query does not actually ignore/stop any crimes. If this query succeeds, use CharacterIgnoreCharacterActiveCrimes to perform the operation.