Skip to main content

(770) _AC_LEFT

Effect

Moves the entity of the animation left over a given amount of frames per tile.

If the time argument is negative, 16 is used.

If the idle_animation argument is provided, the entity will move while in it's idle animation.

Starts the stepping sound effect.

info

This command only moves the entity. It does not turn the entity in the moving direction.

Syntax

_AC_LEFT(tiles, time, idle_animation?)
ArgumentDescriptionTypesRequired
tilesThe amount of tilesFloatRequired
timeThe amount of time to move per tile, in framesFloatRequired
idle_animationWhether to use the idle animationAnyOptional

Example

anm_dummy:
_AC_DIR_L(8)
_AC_LEFT(3, 8)
_ACMD_END()

The above script will turn the entity left and then move the entity left 3 tiles over 8 frames per tile.