Skip to main content

MER.SetRotation

Optional integration

This method requires ProjectMapEditorReborn.

Sets a MER object rotation.

Syntax

MER.SetRotation *MER_reference mode x_rotation y_rotation z_rotation

Arguments

NameRequiredTypeDescription
MER referenceYesa reference to IMerReference object.
modeYesOne of the following options:
> set
> add
Options: set, add
x rotationYesAny number
y rotationYesAny number
z rotationYesAny number

Details

Map object changes are refreshed automatically. Some changes can invalidate the old runtime reference.

Possible errors

  • The reference does not represent a map object, definition, or standalone schematic.

On a running server

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