Background for Skyrim SE
Member of the Quest script
eventOnStoryServedTime(LocationakLocation, FormakCrimeGroup, intaiCrimeGold, intaiDaysJail)

Description

Wiki Description

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


Parameters

  1. LocationakLocation

    CK Wiki Description

    The Location where the jail is.

  2. FormakCrimeGroup

    CK Wiki Description

    The crime group whose jail the player was put in.

  3. intaiCrimeGold

    CK Wiki Description

    The amount of crime gold the jail is for.

  4. intaiDaysJail

    CK Wiki Description

    How many days the player was in jail for.


Examples

Event OnStoryServedTime(Location akLocation, Form akCrimeGroup, int aiCrimeGold, int aiDaysJail)
  Debug.Trace("The player served his time in a jail owned by " + akCrimeGroup + ". It took " + aiDaysJail + " days.")
endEvent

Auto-Generated Example

Scriptname MyCoolScript extends Quest

event OnStoryServedTime(Location akLocation, Form akCrimeGroup, int aiCrimeGold, int aiDaysJail)
    Debug.trace("Event received - OnStoryServedTime: akLocation = " + akLocation + " akCrimeGroup = " + akCrimeGroup + " aiCrimeGold = " + aiCrimeGold + " aiDaysJail = " + aiDaysJail)
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.