OBJECTS

Map object querying.

Availability: Client & Server

Methods


OBJECTS.getByInterface

client server

Get map objects that match a specific interface ID

Signature: obj[] action(str)

Parameters:

NameTypeDescription
idstrThe interface ID to filter by

Returns: obj[] - Array of matching 3D objects

obj[] byInterface = GAME.OBJECTS.getByInterface(0);

OBJECTS.getPathNodes

client server

Get path nodes for AI navigation

Signature: obj[] action()

Returns: obj[] - Array of path node objects with id, x, y, z properties

obj[] pathNodes = GAME.OBJECTS.getPathNodes();

OBJECTS.list

client server

Get an array of all map objects

Signature: obj[] action()

Returns: obj[] - Array of 3D map objects

obj[] items = GAME.OBJECTS.list();