OnLocationChange - Actor
Revision as of 12:34, 30 August 2010 by imported>Jlundin
Member of: Actor Script
Event called when this actor moves from one location to another.
Syntax
Event OnLocationChange(Location akOldLoc, Location akNewLoc)
Parameters
Examples
Event OnLocationChange(Location akOldLoc, Location akNewLoc)
if (Game.GetPlayer().GetCurrentLocation() == akOldLoc)
Debug.Trace("We have left the player's location!")
endIf
endEvent