AnimCommand

Extends: ESCBaseCommand < Resource

Description

anim object name [reverse]

Executes the animation specified in “name” on “object” without blocking. The next command in the event will be executed immediately after the animation is started.

Parameters

  • object: Global ID of the object with the animation

  • name: Name of the animation to play

  • reverse: Plays the animation in reverse when true

@ESC

Method Descriptions

configure

func configure() -> ESCCommandArgumentDescriptor

Return the descriptor of the arguments of this command

validate

func validate(arguments: Array)

Validate whether the given arguments match the command descriptor

run

func run(command_params: Array) -> int

Run the command

interrupt

func interrupt()

Function called when the command is interrupted.