Background for Skyrim SE
Member of the ReferenceAlias script
eventOnLocationChange(LocationakOldLoc, LocationakNewLoc)

Description

Documentation Comment

Event that is triggered when this actor changes from one location to another (only if this alias points at an actor)


Parameters

  1. LocationakOldLoc

  2. LocationakNewLoc


Examples

Auto-Generated Example

Scriptname MyCoolScript extends ReferenceAlias

event OnLocationChange(Location akOldLoc, Location akNewLoc)
    Debug.trace("Event received - OnLocationChange: akOldLoc = " + akOldLoc + " akNewLoc = " + akNewLoc)
endEvent
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.