Background for Skyrim SE
Member of the Quest script
eventOnStoryCrimeGold(ObjectReferenceakVictim, ObjectReferenceakCriminal, FormakFaction, intaiGoldAmount, intaiCrime)

Description

Wiki Description

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


Caveats

CK Wiki - Notes

  • The On Crime Gold event starts any attached quests about 20 seconds after the offense is committed. This will cause a ~20 second delay in the OnStoryCrimeGold event firing (as the quest has not started yet).

Parameters

  1. ObjectReferenceakVictim

    CK Wiki Description

    The ObjectReference that was victimized.

  2. ObjectReferenceakCriminal

    CK Wiki Description

    The ObjectReference that committed the crime.

  3. FormakFaction

    CK Wiki Description

    The Faction that the crime was recorded with.

  4. intaiGoldAmount

    CK Wiki Description

    The amount of crime gold that was logged.

  5. intaiCrime

    CK Wiki Description

    The type of crime that the event is for. Will be one of the following:* -1:None

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

Examples

No human-generated examples found for this event.

Auto-Generated Example

Scriptname MyCoolScript extends Quest

event OnStoryCrimeGold(ObjectReference akVictim, ObjectReference akCriminal, Form akFaction, int aiGoldAmount, int aiCrime)
    Debug.trace("Event received - OnStoryCrimeGold: akVictim = " + akVictim + " akCriminal = " + akCriminal + " akFaction = " + akFaction + " aiGoldAmount = " + aiGoldAmount + " 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.