Background for Starfield
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

LocationakOldLoc

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 Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.