Difference between revisions of "Osiris/API/CharacterCanIgnoreActiveCrimes"
From Divinity Engine Wiki
m (call -> query, put into standard template form) |
m |
||
Line 1: | Line 1: | ||
===== Full Definition(s) ===== | ===== Full Definition(s) ===== | ||
− | * query '''CharacterCanIgnoreActiveCrimes'''('''[in] | + | * query '''CharacterCanIgnoreActiveCrimes'''('''''[in]'''(CHARACTERGUID)'''''_Character''', '''''[out]'''(INTEGER)'''''_Bool''') |
===== Description ===== | ===== Description ===== | ||
Check whether all unresolved crimes registered for the player character '''_Character''' can be removed. | Check whether all unresolved crimes registered for the player character '''_Character''' can be removed. |
Latest revision as of 07:34, 3 September 2018
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.