- Found in:
- Vanilla
Description
Wiki Description
Sends the player to jail, optionally removing his inventory, and sending him to "real" jail.
Documentation Comment
Sends the player to this faction's jail - removing inventory if requested, and to a "real" jail or not
Caveats
Parameters
boolabRemoveInventory=true
CK Wiki Description
Whether to remove everything from the player's inventory or not.
- Default:True
boolabRealJail=true
CK Wiki Description
Whether to send the player to "real" jail or not.
- Default:True
Examples
; Send the player to "real" jail, removing all inventory
PoliceFactionProperty.SendPlayerToJail(); Send the player to "fake" jail, removing all their inventory
PoliceFactionProperty.SendPlayerToJail(abRealJail = false)Auto-Generated Example
bool myBool__abRemoveInventory
bool myBool__abRealJail
myFaction__toCallFunctionOn.SendPlayerToJail(myBool__abRemoveInventory, myBool__abRealJail)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
