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
KeywordakKeyword
CK Wiki Description
The Keyword sent by the script
LocationakLocation
CK Wiki Description
The Location sent by the script
ObjectReferenceakRef1
CK Wiki Description
The first ObjectReference sent by the script
ObjectReferenceakRef2
CK Wiki Description
The second ObjectReference sent by the script
intaiValue1
CK Wiki Description
The first value sent by the script
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)
endEventRelated Pages
- Quest
- Keyword.SendStoryEvent(...)
