Background for Skyrim SE
Member of the Quest script
eventOnStoryArrest(ObjectReferenceakArrestingGuard, ObjectReferenceakCriminal, LocationakLocation, intaiCrime)

Description

Wiki Description

Event called when this quest is started via an arrest story manager event.


Parameters

  1. ObjectReferenceakArrestingGuard

    CK Wiki Description

    The ObjectReference of the guard that arrested the criminal.

  2. ObjectReferenceakCriminal

    CK Wiki Description

    The ObjectReference that was arrested.

  3. LocationakLocation

    CK Wiki Description

    The Location where it happened.

  4. intaiCrime

    CK Wiki Description

    The type of crime that they were arrested for. Will be one of the following:* -1:None

    • 0:Steal
    • 1:Pick-pocket
    • 2:Trespass
    • 3:Attack
    • 4:Murder

Examples

Event OnStoryArrest(ObjectReference akArrestingGuard, ObjectReference akCriminal, Location akLocation, int aiCrime)
  if aiAcquireType == 4 ; Murder
    Debug.Trace(akCriminal + " was arrested by " + akArrestingGuard + " for murder!")
  endIf
endEvent

Auto-Generated Example

Scriptname MyCoolScript extends Quest

event OnStoryArrest(ObjectReference akArrestingGuard, ObjectReference akCriminal, Location akLocation, int aiCrime)
    Debug.trace("Event received - OnStoryArrest: akArrestingGuard = " + akArrestingGuard + " akCriminal = " + akCriminal + " akLocation = " + akLocation + " aiCrime = " + aiCrime)
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.