Background for Skyrim SE
Member of the Quest script
eventOnStoryJail(ObjectReferenceakGuard, FormakCrimeGroup, LocationakLocation, intaiCrimeGold)

Description

Wiki Description

Event called when this quest is started via a jail story manager event.


Parameters

ObjectReferenceakGuard

CK Wiki Description

The ObjectReference that put the player in jail.

FormakCrimeGroup

CK Wiki Description

The crime group whose jail the player was put in.

LocationakLocation

CK Wiki Description

The Location where the jail is.

intaiCrimeGold

CK Wiki Description

The amount of crime gold the jail is for.


Examples

Event OnStoryJail(ObjectReference akGuard, Form akCrimeGroup, Location akLocation, int aiCrimeGold)
  Debug.Trace("The player was put into a jail owned by " + akCrimeGroup + " by " + akGuard)
endEvent

Auto-Generated Example

Scriptname MyCoolScript extends Quest

event OnStoryJail(ObjectReference akGuard, Form akCrimeGroup, Location akLocation, int aiCrimeGold)
    Debug.trace("Event received - OnStoryJail: akGuard = " + akGuard + " akCrimeGroup = " + akCrimeGroup + " akLocation = " + akLocation + " aiCrimeGold = " + aiCrimeGold)
endEvent

Related Pages


Additional References

View this event’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.