Skip to main content

(136) _OBJ_ANIME

Effect

Calls an animation label for the given entity.

The entity name is taken from the field ID from a PlaceData file. For the player it is HERO.

info

If the given entity or label cannot be found, this command does nothing.

Syntax

_OBJ_ANIME(entity, label, animation_clip)
ArgumentDescriptionTypesRequired
entityThe entity idWork, Float, StringRequired
labelThe animation labelStringRequired
animation_clipFirst frame of the next animation clip to be playedWork, FloatOptional

Example

ev_dummy:
_OBJ_ANIME('HERO', 'anm_dummy')
anm_dummy:
_ACMD_END()

The above script will call the animation label anm_dummy with the player as the entity.