Skip to main content

MER.GetObjectDefinition

Optional integration

This method requires ProjectMapEditorReborn.

Gets a MER object definition.

Syntax​

MER.GetObjectDefinition "object_ID" "map_name"

Returns​

reference to MERObjectDefinition object

Arguments​

NameRequiredTypeDescription
object IDYesAny text e.g. "Hello, World!"
map nameYesAny text e.g. "Hello, World!"

Details​

The reference exposes mapName, id, type, and object. Definition properties are forwarded and refreshed after writes.

Possible errors​

  • The map is not loaded.
  • The object ID does not exist in the map.

On a running server​

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