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
Allow WalkingBlacklist WalkingCan Enter From WalkingCareer ActiveComplete ScenarioCountdownDecal CircleDecal LineDecal PathDecal SingleIs Walking BlacklistedGroundmarker Remaining DistanceGroundmarkersIs WalkingIs Walking EnabledMission DefaultsMultiseatDetect Acceleration At StartPointsBar PointsPointsBar ThresholdsRemove Other VehiclesToggle WalkingIn Zone
Add Vehicle (Traffic)Traffic Driving StatsFile Vehicle GroupGet Traffic StateGet Vehicle Id From TableGet Traffic Vehicle DataParking System ParametersTrack Vehicle ParkingPursuit InformationSet Pursuit ModePursuit ParametersPursuit RoadblockRemove Vehicle (Traffic)Setup Parking SystemSetup Pursuit GameplaySet Traffic Vehicle DataSet Vehicle FlowgraphActivate TrafficGenerate Vehicle GroupMove Vehicle GroupTraffic ParametersScatter TrafficSpawn Vehicle Group
Get Signal ControllerController by NameFile Traffic SignalsGet Signal InstanceSignal by NameSignal Instance SettingsPredict Signal StateGet Signal SequenceAdvance SequenceSequence by NameSignal Sequence SettingsTraffic Signals Settings

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 Extensionsflowgraphnodesgameplaytrafficsignals

Predict Signal State

**File:** `flowgraph/nodes/gameplay/traffic/signals/instanceState.lua`

File: flowgraph/nodes/gameplay/traffic/signals/instanceState.lua

Description: Predicts the future state of a signal from the given seconds.

Category: once_instant Tags: traffic, signals

Input Pins

NameTypeDescription
instanceDatatableSignal instance data.
secondsnumberFuture time, in seconds; only positive values are supported.

Output Pins

NameTypeDescription
stateNamestringPredicted signal state name.
stateActionstringPredicted signal state action.

Methods

  • C:workOnce()

See Also

  • Get Signal Controller - Related reference
  • Controller by Name - Related reference
  • File Traffic Signals - Related reference
  • FlowGraph Guide - Guide

Signal Instance Settings

**File:** `flowgraph/nodes/gameplay/traffic/signals/instanceSettings.lua`

Get Signal Sequence

**File:** `flowgraph/nodes/gameplay/traffic/signals/sequence.lua`

On this page

Input PinsOutput PinsMethodsSee Also