Background for Fallout 4
Member of the Faction script
voidfunctionPlayerPayCrimeGold(boolabRemoveStolenItems=true, boolabGoToJail=true)Native

Description

Wiki Description

Has the player pay the crime gold on this faction, possibly removing any stolen items in their inventory and sending them to jail.

Documentation Comment

Has the player pay the crime gold for this faction


Caveats


Parameters

boolabRemoveStolenItems=true

CK Wiki Description

Whether to remove stolen items from the player's inventory or not.

  • Default:True

boolabGoToJail=true

CK Wiki Description

Whether to send the player to the exterior jail marker or not. (The player is not actually put in jail, but moved to the spot where you'd be if you served time and were released from jail).

  • Default:True

Examples

; Have the play pay the crime gold to the police, remove stolen items and sending them to jail
PoliceFactionProperty.PlayerPayCrimeGold()
; Have the play pay the crime gold to the police, NOT remove stolen items, but sending them to jail
PoliceFactionProperty.PlayerPayCrimeGold(abGoToJail = true)

Auto-Generated Example

bool myBool__abRemoveStolenItems
bool myBool__abGoToJail

myFaction__toCallFunctionOn.PlayerPayCrimeGold(myBool__abRemoveStolenItems, myBool__abGoToJail)

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.