OnStoryScript - Quest

Member of: Quest Script

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

SyntaxEdit

Event OnStoryScript(Keyword akKeyword, Location akLocation, ObjectReference akRef1, ObjectReference akRef2, \
  int aiValue1, int aiValue2)

ParametersEdit

  • 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

ExamplesEdit

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

NotesEdit

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

See AlsoEdit