Character.Move(int x, int y, optional BlockingStyle,
optional WalkWhere);
Starts the character moving from its current location to (X,Y), but does
not play the character's walking animation.
The parameters to this command are identical to the Character.Walk
command -- see that page for more details. The only difference is that Walk
plays the walking animation whereas Move does not.
In the vast majority of cases, you will use Character.Walk instead.
Example:
cEgo.Move(155, 122, eBlock);
will make the character move to 155,122 without playing his walking animation.
The script will not continue until the character has reached his destination.
Compatibility: Supported by AGS 3.1.0 and later versions.
See Also: Character.AddWaypoint,
Character.FaceCharacter,
Character.Walk,
MoveCharacterToObject,
Object.Move,
Character.StopMoving
|