Skip to content
On this page

AthenaShared.interfaces.animation.JobAnimation

shared/interfaces/animation.JobAnimation

Used to pass animation information from server-side to client-side.

Interface

Animation

Hierarchy

Properties

atObjectiveStart

Optional atObjectiveStart: boolean

Play the animation when the objective is loaded?

Defined in

shared/interfaces/animation.ts:55


delay

Optional delay: number

When to play this animation after a certain amount of ms.

Defined in

shared/interfaces/animation.ts:48


dict

dict: string

The animation dictionary for the animation.

Inherited from

Animation.dict

Defined in

shared/interfaces/animation.ts:16


duration

duration: number

How long should this animation play for. Set this to -1 for infinite.

Inherited from

Animation.duration

Defined in

shared/interfaces/animation.ts:39


flags

flags: ANIMATION_FLAGS

A bitwise enum of values that determine how an animation looks / works. Combine them with 'ANIMATION_FLAGS.X | ANIMATION_FLAGS.Y'

Inherited from

Animation.flags

Defined in

shared/interfaces/animation.ts:31


name

name: string

The name of the animation.

Inherited from

Animation.name

Defined in

shared/interfaces/animation.ts:23


rotation

Optional rotation: IVector3

What direction to face when playing the animation.

Defined in

shared/interfaces/animation.ts:62

Created by Stuyk | Est. 2020