Skip to main content

(774) _AC_DIR_R

Effect

Turns the entity of the animation right over a given amount of frames.

The entity always makes the smallest turn possible. If the invert argument is provided, the entity will turn the longer way around.

Starts the stepping sound effect.

Syntax

_AC_DIR_R(time, invert?)
ArgumentDescriptionTypesRequired
timeThe amount of time to turn, in framesFloatRequired
invertWhether to invert the turnAnyOptional

Example

anm_dummy:
_AC_DIR_R(8)
_ACMD_END()

The above script will turn the entity right over 8 frames.