OnStoryScript - Quest

Revision as of 15:26, 17 November 2011 by imported>Henning
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Quest Script

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

Syntax

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

Parameters

  • 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

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

See Also