OnStoryChangeLocation - Quest

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Quest Script

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

Syntax[edit | edit source]

Event OnStoryChangeLocation(ObjectReference akActor, Location akOldLocation, Location akNewLocation)

Parameters[edit | edit source]

  • akActor: The ObjectReference that changed locations.
  • akOldLocation: The Location that the object left.
  • akNewLocation: The Location that the object arrived at.

Examples[edit | edit source]

Event OnStoryChangeLocation(ObjectReference akActor, Location akOldLocation, Location akNewLocation)
  Debug.Trace(akActor + " moved from " + akOldLocation + " to " + akNewLocation)
endEvent

See Also[edit | edit source]