Skip to main content

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

NameRequiredTypeDescription
object typeNoOne 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 nameYesAny text e.g. "Hello, World!"
object IDNoAny 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.