eventOnStoryJail(ObjectReferenceakGuard, FormakCrimeGroup, LocationakLocation, intaiCrimeGold)
Description
Wiki Description
Event called when this quest is started via a jail story manager event.
Parameters
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)
endEventAuto-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)
endEventRelated Pages
- Quest
- Quest.OnStoryEscapeJail(...)
- Quest.OnStoryServedTime(...)
