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
| Name | Required | Type | Description |
|---|---|---|---|
object ID | Yes | Any text e.g. "Hello, World!" | |
map name | Yes | Any 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.