Osiris/API/CharacterIgnoreActiveCrimes

From Divinity Engine Wiki
Jump to: navigation, search
Full Definition(s)
  • query CharacterIgnoreActiveCrimes([in](CHARACTERGUID)_Character, [out](INTEGER)_Bool)
Description

Tries to remove all unresolved crimes registered for the player character _Character.

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 could be removed (= permanently ignored), 0 otherwise.
Notes
  • You can first check with CharacterCanIgnoreActiveCrimes whether all crimes for the character can be removed.
  • Returns failure if some crime cannot be removed. This can happen if a player is currently being interrogated for a crime.
  • In case of failure, every crime that could be removed is still removed.
See Also