Background for Starfield
Member of the RefCollectionAlias script
eventOnLocationChange(ObjectReferenceakSenderRef, 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

ObjectReferenceakSenderRef

LocationakOldLoc

LocationakNewLoc


Examples

Auto-Generated Example

Scriptname MyCoolScript extends RefCollectionAlias

event OnLocationChange(ObjectReference akSenderRef, Location akOldLoc, Location akNewLoc)
    Debug.trace("Event received - OnLocationChange: akSenderRef = " + akSenderRef + " 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.