Background for Skyrim SE
Member of the Quest script
eventOnStoryScript(KeywordakKeyword, LocationakLocation, ObjectReferenceakRef1, ObjectReferenceakRef2, intaiValue1, intaiValue2)

Description

Wiki Description

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


Caveats

CK Wiki - Notes

  • aiValue1 and aiValue2 cannot be negative. Even if the event was sent with negative parameters, they are received as 0.

Parameters

  1. KeywordakKeyword

    CK Wiki Description

    The Keyword sent by the script

  2. LocationakLocation

    CK Wiki Description

    The Location sent by the script

  3. ObjectReferenceakRef1

    CK Wiki Description

    The first ObjectReference sent by the script

  4. ObjectReferenceakRef2

    CK Wiki Description

    The second ObjectReference sent by the script

  5. intaiValue1

    CK Wiki Description

    The first value sent by the script

  6. intaiValue2

    CK Wiki Description

    The second value sent by the script


Examples

No human-generated examples found for this event.

Auto-Generated Example

Scriptname MyCoolScript extends Quest

event OnStoryScript(Keyword akKeyword, Location akLocation, ObjectReference akRef1, ObjectReference akRef2, int aiValue1, int aiValue2)
    Debug.trace("Event received - OnStoryScript: akKeyword = " + akKeyword + " akLocation = " + akLocation + " akRef1 = " + akRef1 + " akRef2 = " + akRef2 + " aiValue1 = " + aiValue1 + " aiValue2 = " + aiValue2)
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.