GetFromMap
Gets a collection of objects from a map.
Syntax
GetFromMap object
Returns
collection of reference value
Arguments
| Name | Required | Type | Description |
|---|---|---|---|
object | Yes | One of the following options: > doors (Returns a collection of references to Door objects) > elevators (Returns a collection of references to Elevator objects) > generators (Returns a collection of references to Generator objects) > cameras (Returns a collection of references to Camera objects) > teslas (Returns a collection of references to Tesla objects) > rooms (Returns a collection of references to Room objects) > roomLights (Returns a collection of references to LightsController objects) > ragdolls (Returns a collection of references to Ragdoll objects) | Options: doors, elevators, generators, cameras, teslas, rooms, roomLights, ragdolls |
Validated examples using this method
On a running server
Use serhelp GetFromMap to inspect the reference generated by your installed SER version.