MER.SetAnimationState
Optional integration
This method requires ProjectMapEditorReborn.
Sets a MER animation bool.
Syntax
MER.SetAnimationState *schematic_reference "parameter_name" state animator_index?
Arguments
| Name | Required | Type | Description |
|---|---|---|---|
schematic reference | Yes | a reference to MERSchematic object. | |
parameter name | Yes | Any text e.g. "Hello, World!" | |
state | Yes | bool (true or false) value | |
animator index | No | A whole number bigger or equal 1 | Default: 1 |
Details
The animator index is one-based.
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.SetAnimationState to inspect the reference generated by your installed SER version.