Background for Starfield
Member of the RefCollectionAlias script
eventOnPlayerJail(ObjectReferenceakSenderRef, ObjectReferenceakGuard, FormakFaction, LocationakLocation, intaeCrimeGold)

Description

Documentation Comment

Event that is triggered when the player goes to jail.


Parameters

ObjectReferenceakSenderRef

ObjectReferenceakGuard

FormakFaction

LocationakLocation

intaeCrimeGold


Examples

Auto-Generated Example

Scriptname MyCoolScript extends RefCollectionAlias

event OnPlayerJail(ObjectReference akSenderRef, ObjectReference akGuard, Form akFaction, Location akLocation, int aeCrimeGold)
    Debug.trace("Event received - OnPlayerJail: akSenderRef = " + akSenderRef + " akGuard = " + akGuard + " akFaction = " + akFaction + " akLocation = " + akLocation + " aeCrimeGold = " + aeCrimeGold)
endEvent
Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.