OnStoryScript - Quest
Jump to navigation
Jump to search
Member of: Quest Script
Event called when this quest is started via a script story manager event.
Syntax[edit | edit source]
Event OnStoryScript(Keyword akKeyword, Location akLocation, ObjectReference akRef1, ObjectReference akRef2, \
int aiValue1, int aiValue2)
Parameters[edit | edit source]
- akKeyword: The Keyword sent by the script
- akLocation: The Location sent by the script
- akRef1: The first ObjectReference sent by the script
- akRef2: The second ObjectReference sent by the script
- aiValue1: The first value sent by the script
- aiValue2: The second value sent by the script
Examples[edit | edit source]
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")
endEvent
Notes[edit | edit source]
- aiValue1 and aiValue2 cannot be negative. Even if the event was sent with negative parameters, they are received as 0.