(Formerly known as global function StopMoving, which is now obsolete)
Character.StopMoving()
Stops the character moving and sets its graphic to the standing frame of the current loop.
Example:
if (cEgo.x > 299)
{
cEgo.StopMoving();
}
will stop the character when he reaches the coordinate x=300.
See Also: Character.Walk, Object.StopMoving
|