Animations
Animations can be played from server-side.
Animation Flags
export enum ANIMATION_FLAGS {
NORMAL = 0,
REPEAT = 1,
STOP_LAST_FRAME = 2,
UPPERBODY_ONLY = 16,
ENABLE_PLAYER_CONTROL = 32,
CANCELABLE = 120
}const foreverLastFrame = ANIMATION_FLAGS.STOP_LAST_FRAME | ANIMATION_FLAGS.UPPERBODY_ONLY;Usage
// Plays an animation forever.
Athena.player.emit.animation(player, 'dictionary', 'name', flags, -1);Stopping Animation
Scenarios
Last updated