This function is now obsolete. Use Character.Walk instead
MoveCharacterToObject (CHARID, int object)
Moves the character CHARID from its current location to a position just below
the object OBJECT. This is useful for example, if you want the man to pick
up an object.
This is a blocking call - control is not returned to the script until the
character has reached its destination.
Example:
MoveCharacterToObject (EGO, 0);
object[0].Visible = false;
Will move the character EGO below object number 0, then turn off object 0.
See Also: Character.Walk,
MoveCharacterToHotspot
|