ModCrimeGold - Faction

Member of: Faction Script

Modifies the amount of crime gold on this faction.

SyntaxEdit

Function ModCrimeGold(int aiAmount, bool abViolent = False) native

ParametersEdit

  • 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 ValueEdit

None.

ExamplesEdit

; 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)

See AlsoEdit