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
intaiValue1
CK Wiki Description
The first value sent by the script
intaiValue2
CK Wiki Description
The second value sent by the script
Examples
Event OnStoryScript(Keyword akKeyword, Location akLocation, ObjectReference akRef1, ObjectReference akRef2, \
int aiValue1, int aiValue2)
Debug.Trace("This quest was started by a script story event")
endEventAuto-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)
endEventRelated Pages
- Quest
- Keyword.SendStoryEvent(...)
