Skip to main content

MER.PlayAnimation

Optional integration

This method requires ProjectMapEditorReborn.

Plays a MER animation.

Syntax

MER.PlayAnimation *schematic_reference "state_name" animator_index? "animator_name"?

Arguments

NameRequiredTypeDescription
schematic referenceYesa reference to MERSchematic object.
state nameYesAny text e.g. "Hello, World!"
animator indexNoA whole number bigger or equal 1Default: 1
animator nameNoAny text e.g. "Hello, World!"Default: use animator index

Details

Select the animator by name or one-based index.

Possible errors

  • The schematic is invalid.
  • The animator index is out of range or its name was not found.
  • The requested state or parameter does not exist.

On a running server

Use serhelp MER.PlayAnimation to inspect the reference generated by your installed SER version.