Background for Fallout 4
Member of the Faction script
voidfunctionModCrimeGold(intaiAmount, boolabViolent=false)Native

Description

Wiki Description

Modifies the amount of crime gold on this faction.

Documentation Comment

Modifies the amount of crime gold for this faction - violent or non-violent


Caveats


Parameters

intaiAmount

CK Wiki Description

The amount to modify the crime gold by.

boolabViolent=false

CK Wiki Description

If true, modify the crime gold for violent crime, otherwise, for non-violent crime.

  • Default:False

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)

Auto-Generated Example

int myInt__aiAmount
bool myBool__abViolent

myFaction__toCallFunctionOn.ModCrimeGold(myInt__aiAmount, myBool__abViolent)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.