opx_lib
Lib.Anim
Last updated on
Play an emote on the local player or an animation on another body.
No permission declared by the module.
Lib.Anim.Self
Plays an emote on the local player.
Lib.Anim.Self(animation, thirdPerson)Parameters
- animation:
string - thirdPerson?:
boolean— pull the camera out for the clip
Returns
Result— errorinvalid_animation
Lib.Anim.Self('wave', true)Lib.Anim.On
Plays an animation on another body (never the local player).
Lib.Anim.On(entity, animation)Parameters
- entity:
number - animation:
string
Returns
Result— errorsinvalid_entity,is_local_player,invalid_animation