Skip to main content

MER.SetPosition

Optional integration

This method requires ProjectMapEditorReborn.

Sets a MER object position.

Syntax

MER.SetPosition *MER_reference mode x_position y_position z_position

Arguments

NameRequiredTypeDescription
MER referenceYesa reference to IMerReference object.
modeYesOne of the following options:
> set
> add
Options: set, add
x positionYesAny number
y positionYesAny number
z positionYesAny 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.SetPosition to inspect the reference generated by your installed SER version.