ModCrimeGold - Faction

From Creation Kit
Jump to: navigation, search

Member of: Faction Script

Modifies the amount of crime gold on this faction.

Syntax

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

Parameters

  • 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

None.

Examples

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