Osiris/API/CharacterCanReactToCrime
From Divinity Engine Wiki
Full Definition(s)
- query CharacterCanReactToCrime([in](CHARACTERGUID)_Character, [in](STRING)_CrimeType, [out](INTEGER)_Bool)
Description
Checks if _Character has a defined reaction to a crime.
Return Values
- Success/Failure: Fails if _Character or _CrimeType does not exist.
- _Bool: 1 if _Character has a primary or secondary reaction for the crime of type _CrimeType at the tension level of the crime area's in which it is currently locatedm 0 otherwise.
Notes
See Also
- CharacterCanSpotCrimes
- CharacterDisableAllCrimes
- |CharacterDisableCrime|
- CharacterEnableAllCrimes
- |CharacterEnableCrime|
- CharacterIsCrimeEnabled
- CrimeAreaSetTensionModifier
- CrimeAreaGetTensionModifier
- CrimeAreaResetTensionModifier
- CrimeGetTension
- CrimeGetType
- CrimeIgnoreCrime
- CrimeIsAnyNPCGoingToReact
- RegisterCrime