Difference between revisions of "Osiris/API/CharacterCanReactToCrime"

From Divinity Engine Wiki
Jump to: navigation, search
m
m (See Also)
 
Line 11: Line 11:
 
* [[Osiris/API/CharacterCanSpotCrimes|CharacterCanSpotCrimes]]
 
* [[Osiris/API/CharacterCanSpotCrimes|CharacterCanSpotCrimes]]
 
* [[Osiris/API/CharacterDisableAllCrimes|CharacterDisableAllCrimes]]
 
* [[Osiris/API/CharacterDisableAllCrimes|CharacterDisableAllCrimes]]
* [[Osiris/API/CharacterDisableCrime||CharacterDisableCrime|]]
+
* [[Osiris/API/CharacterDisableCrime|CharacterDisableCrime]]
 
* [[Osiris/API/CharacterEnableAllCrimes|CharacterEnableAllCrimes]]
 
* [[Osiris/API/CharacterEnableAllCrimes|CharacterEnableAllCrimes]]
* [[Osiris/API/CharacterEnableCrime||CharacterEnableCrime|]]
+
* [[Osiris/API/CharacterEnableCrime|CharacterEnableCrime]]
 
* [[Osiris/API/CharacterIsCrimeEnabled|CharacterIsCrimeEnabled]]
 
* [[Osiris/API/CharacterIsCrimeEnabled|CharacterIsCrimeEnabled]]
 
* [[Osiris/API/CrimeAreaSetTensionModifier|CrimeAreaSetTensionModifier]]
 
* [[Osiris/API/CrimeAreaSetTensionModifier|CrimeAreaSetTensionModifier]]

Latest revision as of 11:54, 12 October 2018

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 areas in which it is currently located, 0 otherwise.
Notes
  • The result of this function is unaffected by disabled or ignored crimes for/by _Character.
See Also