OnStoryChangeLocation - Quest

From Creation Kit
Jump to: navigation, search

Member of: Quest Script

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

Syntax

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

Parameters

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

Examples

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

See Also