MER.GetObjects
Optional integration
This method requires ProjectMapEditorReborn.
Gets MER map objects.
Syntax
MER.GetObjects object_type? "map_name" "object_ID"?
Returns
collection of reference to MERObject object
Arguments
| Name | Required | Type | Description |
|---|---|---|---|
object type | No | One of the following options: > any (Matches every object type) > schematic > primitive > light > door > workstation > itemSpawnpoint > playerSpawnpoint > capybara > text > scp079Camera > shootingTarget > locker > teleport > interactable > waypoint | Options: any, schematic, primitive, light, door, workstation, itemSpawnpoint, playerSpawnpoint, capybara, text, scp079Camera, shootingTarget, locker, teleport, interactable, waypoint |
map name | Yes | Any text e.g. "Hello, World!" | |
object ID | No | Any text e.g. "Hello, World!" | Default: all IDs |
Details
An empty ID and the any type match every object. Each reference exposes mapName, id, type, object, and definition.
On a running server
Use serhelp MER.GetObjects to inspect the reference generated by your installed SER version.