Skip to content

class ModelAniEvent (client-side)

Available since version: 0.3.9.0

This class represents an event attached to a model animation frame. The object is owned by the animation.

Properties

int frameNr

Represents the animation frame at which the event occurs.


string tagString

Represents the tag associated with the animation event.


float value1

Represents the first numeric argument of the animation event.


float value2

Represents the second numeric argument of the animation event.


float value3

Represents the third numeric argument of the animation event.


float value4

Represents the fourth numeric argument of the animation event.


zarray soundList (read-only)

Represents the sound effects cached for this animation event.


Methods

string

Gets or sets a string argument assigned to the animation event.

string string(int index, string value)

Parameters:

  • int index: the argument index in range 0 to 3.
  • string value: optional new argument value.

Returns string:

the current argument value when called without value.


Callbacks

No callbacks.