RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Flowgraph Base ModuleFlowgraph Base NodeFlowgraph Base State NodeFlowgraph Node BuilderFlowgraph GraphFlowgraph Group HelperFlowgraph LinkFlowgraph ManagerNew Node TemplateFlowgraph PinFlowgraph States ManagerFlowgraph UtilsFlowgraph Variable Storage
Collection Marker (Flowgraph Node)Custom Lua Command (Flowgraph Node)Get Object Field (Flowgraph Node)Get Player Vehicle ID (Flowgraph Node)Get Point on Decalroad (Flowgraph Node)Show/Hide Object (Flowgraph Node)ID by Name (Flowgraph Node)Keep Prefab (Flowgraph Node)Particle Emitter (Flowgraph Node)Point on Decalroad (Flowgraph Node)Raceline Parking (Flowgraph Node)Raycast (Flowgraph Node)Parking Markers / Rect Marker (Flowgraph Node)Reload Collision (Flowgraph Node)Reload Nav Graph (Flowgraph Node)Remove Prefab (Flowgraph Node)Reset Prefab (Flowgraph Node)Set Object Field (Flowgraph Node)Sevensegment Display (Flowgraph Node)Single Marker (Flowgraph Node)Spawn Light / SpotLight (Flowgraph Node)Spawn Prefab (Flowgraph Node)Spawn TSStatic (Flowgraph Node)Store Statics (Flowgraph Node)Track Prefab (Flowgraph Node)

UI

Resources

BeamNG Game Engine Lua Cheat SheetGE Developer RecipesMCP Server Setup

// RLS.STUDIOS=true

Premium Mods for BeamNG.drive. Career systems, custom vehicles, and immersive gameplay experiences.

Index

HomeProjectsPatreon

Socials

DiscordPatreon (RLS)Patreon (Vehicles)

© 2026 RLS Studios. All rights reserved.

Modding since 2024

API ReferenceGE Extensionsflowgraphnodesscene

Single Marker (Flowgraph Node)

- **Node Name:** `Single Marker`

Overview

  • Node Name: Single Marker
  • Category: (default, no explicit category)
  • File: extensions/flowgraph/nodes/scene/singleMarker.lua

Displays a single race-style marker at a given position. Must be manually reset when no longer needed. Supports multiple marker types and distance-based fading.

Pin Schema

Input Pins

PinTypeDescription
flowflowStandard inflow
resetflow (impulse)Removes the marker
positionvec3Marker position
radiusnumber or vec3Marker radius
markerTypestring(Hidden) Marker visual type
colorcolor(Hidden) Marker color (default white)
fadeNearDistnumber(Hidden) Near fade distance
fadeFarDistnumber(Hidden) Far fade distance

Output Pins

PinTypeDescription
flowflowOutflow when marker is active

Internals

FieldPurpose
self.markerThe race marker object (from scenario/race_marker)
self.data.zOffsetVertical offset applied to the position

Available Marker Types

overhead, ringMarker, sideColumnMarker, sideMarker, cylinderMarker, attention, sideHologramMarker, singleHologramMarker

Behavior

  • work() - Each frame:
    • On reset impulse, hides and destroys the marker.
    • On flow, creates the marker if needed using scenario/race_marker.createRaceMarker().
    • Updates position/radius when inputs change (optimized to skip unchanged frames).
    • Updates color and calls marker:update() each frame.
  • fillFields() - Caches position/radius/color and applies z-offset. Returns whether values changed.
  • onDrawOnMinimap() - Draws a simple circle on the minimap when the marker exists.

How It Works

  1. On first flow, creates a race marker via scenario/race_marker.createRaceMarker(true, markerType).
  2. Configures the marker as a checkpoint with position, radius, and optional fade distances.
  3. Each frame, updates the marker's color and calls its update() method for animation.
  4. The marker persists until reset is triggered or execution stops.

Key Dependencies

  • require("scenario/race_marker").createRaceMarker() - marker factory
  • marker:setToCheckpoint() - configures position and radius
  • ui_apps_minimap_utils.simpleCircleWithEdgePointer() - minimap integration

Additional Methods

C:_afterTrigger()

Called after the node's trigger logic executes.

C:_executionStarted()

Called when graph execution starts. Used for initialization/reset.

C:_executionStopped()

Called when graph execution stops. Used for cleanup.

C:blend()

Node method.

C:hideMarker()

Node method.

C:init(mgr, ...)

Initializes the node, setting up pins and default properties.

Parameters:

  • mgr
  • ...

C:onClientEndMission()

Cleanup callback when the mission/level ends.

C:postInit()

Called after initialization is complete for additional setup.


See Also

  • Collection Marker (Flowgraph Node) - Related reference
  • Custom Lua Command (Flowgraph Node) - Related reference
  • Get Object Field (Flowgraph Node) - Related reference
  • FlowGraph Guide - Guide

Sevensegment Display (Flowgraph Node)

- **Node Name:** `Sevensegment Display`

Spawn Light / SpotLight (Flowgraph Node)

- **Node Name:** `SpotLight`

On this page

OverviewPin SchemaInput PinsOutput PinsInternalsAvailable Marker TypesBehaviorHow It WorksKey DependenciesAdditional MethodsC:_afterTrigger()C:_executionStarted()C:_executionStopped()C:blend()C:hideMarker()C:init(mgr, ...)C:onClientEndMission()C:postInit()See Also