Skip to main content

(870) _AC_INDEX_ANIME

Effect

Animates the entity based on the given animation. The list of animations can be found at the bottom of this page.

If the time argument is provided, the animation takes as long as specified.

Syntax

_AC_INDEX_ANIME(animation, time?)
ArgumentDescriptionTypesRequired
animationThe animation to performFloatRequired
timeThe amount of time to animate, in secondsFloatOptional

Example

anm_dummy:
_AC_INDEX_ANIME(41)
_AC_INDEX_ANIME_WAIT()
_ACMD_END()

The above script will make the entity spin around in the air.

info

A list of animations can be found here.