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
| Name | Required | Type | Description |
|---|---|---|---|
MER reference | Yes | a reference to IMerReference object. | |
mode | Yes | One of the following options: > set > add | Options: set, add |
x rotation | Yes | Any number | |
y rotation | Yes | Any number | |
z rotation | Yes | Any 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.