(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)
Argument | Description | Types | Required |
---|---|---|---|
entity | The entity id | Work, Float, String | Required |
label | The animation label | String | Required |
animation_clip | First frame of the next animation clip to be played | Work, Float | Optional |
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.