ModCrimeGold - Faction
Revision as of 15:27, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
Member of: Faction Script
Modifies the amount of crime gold on this faction.
Syntax[edit | edit source]
Function ModCrimeGold(int aiAmount, bool abViolent = False) native
Parameters[edit | edit source]
- aiAmount: The amount to modify the crime gold by.
- abViolent: If true, modify the crime gold for violent crime, otherwise, for non-violent crime.
- Default: False
Return Value[edit | edit source]
None.
Examples[edit | edit source]
; Increase the amount of non-violent crime gold with the police faction
PoliceFactionProperty.ModCrimeGold(10)
; Decrease the amount of violent crime gold with the police faction
PoliceFactionProperty.ModCrimeGold(-10, true)