MER.RenameObject
Optional integration
This method requires ProjectMapEditorReborn.
Renames a MER map object.
Syntax
MER.RenameObject *MER_object_reference "new_object_ID"
Returns
reference to MERObjectDefinition object
Arguments
| Name | Required | Type | Description |
|---|---|---|---|
MER object reference | Yes | a reference to IMerObjectReference object. | |
new object ID | Yes | Any text e.g. "Hello, World!" |
Details
Reloads the map and returns a replacement definition reference.
Possible errors
- The old object no longer exists.
- The new object ID is already used.
On a running server
Use serhelp MER.RenameObject to inspect the reference generated by your installed SER version.