Tells the object to move to a new location
location lNewLocation = none,
object oTarget = OBJECT_SELF
Location to Move To (Default: none)
Object to Move (Default: OBJECT_SELF)
This is a convenience function that places two commands in the target objects queue using two AssignCommand calls. The first wraps
The second wraps
These two commands effectively command the target to move to the new location, then instructs the target to face the correct way once they get there. The default target is OBJECT_SELF. Note that the restrictions to AssignCommand, ActionMoveToLocation, and SetFacing still apply.
void SetFacing(float fFacing)
void ActionDoCommand(action aActionToDo)
float GetFacingFromLocation(location loc):float
void AssignCommand(object oTarget, action aActionToDo)
void ActionMoveToLocation(location lNewLocation, int bRun)
#include " x0_i0_position "
author: Michael Nork