OnLocationChange - Actor
Member of: Actor Script
Event called when this actor moves from one location to another.
SyntaxEdit
Event OnLocationChange(Location akOldLoc, Location akNewLoc)
ParametersEdit
ExamplesEdit
Event OnLocationChange(Location akOldLoc, Location akNewLoc)
if (Game.GetPlayer().GetCurrentLocation() == akOldLoc)
Debug.Trace("We have left the player's location!")
endIf
endEvent