Open77.markers

Runs inside the game process. Reads and presentation are local; anything that changes shared state has to go through the server.

client runtime5 functionsMarkdown

clear

GAME

Open77.markers.clear()

Removes every 3D marker owned by the calling resource.

Requires world.markers; other resources are unaffected.

Returns

  • true on success, otherwise false
  • reason

Registered in ResourceHost.cpp as LuaMarkerClear (line 6937).

create

GAME

Open77.markers.create(options)

Creates a resource-owned 3D world marker.

Requires world.markers. Options require position and accept shape, style, radius, maxDistance, minDistance, and visible. The returned decimal-string handle preserves its full 64-bit identity.

Parameters

  • optionstablerequired

Returns

  • marker handle string, or nil
  • reason

Registered in ResourceHost.cpp as LuaMarkerCreate (line 6934).

list

GAME

Open77.markers.list()

Lists the calling resource's 3D markers.

Requires world.markers. Each snapshot includes its requested definition and whether the native renderer currently presents it.

Returns

  • array of { id, shape, style, radius, maxDistance, minDistance, visible, rendered, position }, or nil
  • reason

Registered in ResourceHost.cpp as LuaMarkerList (line 6938).

remove

GAME

Open77.markers.remove(id)

Removes one resource-owned 3D marker.

Requires world.markers.

Parameters

  • idstringrequired

Returns

  • true on success, otherwise false
  • reason

Registered in ResourceHost.cpp as LuaMarkerRemove (line 6936).

update

GAME

Open77.markers.update(id, patch)

Patches a resource-owned 3D marker.

Requires world.markers. Only supplied fields are changed, and ownership prevents mutation of another resource's marker.

Parameters

  • idstringrequired
  • patchtablerequired

Returns

  • true on success, otherwise false
  • reason

Registered in ResourceHost.cpp as LuaMarkerUpdate (line 6935).

For agents and LLMs: this page as Markdown · llms.txt · llms-full.txt