ModCrimeGold - Faction

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

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)

See Also[edit | edit source]