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
AI Debug DisplayCamera Mouse RaycastCommentDebug CylinderDebug LineDebug PrismDebug SphereDebug TextDisplay ValueDisplay FlowMulti GraphFlow ButtonLogMini GraphMulti FlowNumber SliderPause ExecutionRestart ProjectStop ProjectCategory Test (Test Dynamic)

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 Extensionsflowgraphnodesdebug

Category Test (Test Dynamic)

- **File:** `extensions/flowgraph/nodes/debug/testDynamic.lua`

Overview

  • File: extensions/flowgraph/nodes/debug/testDynamic.lua
  • Name: Category Test
  • Category: once_f_duration
  • Description: Tests the once_f_duration category behavior with a 5-second timer.

Pin Schema

Input Pins

None (uses implicit flow from category).

Output Pins

None (uses duration state system).

Behavior

  • init(): Resets timer to 0, sets duration state to 'inactive'.
  • _executionStarted() / onNodeReset(): Resets timer and duration state.
  • workOnce(): Resets timer to 0 and sets duration state to 'started'.
  • work(): While in 'started' state, increments timer by mgr.dtReal. When timer reaches 5 seconds, sets duration state to 'finished'.

Node Display

  • Shows a progress bar (50px wide) representing the timer progress from 0 to 5 seconds.

Duration States

StateMeaning
inactiveNode has not been triggered.
startedTimer is running (0–5 seconds).
finishedTimer completed (5 seconds elapsed).

Notes

  • This is a test/debug node for validating the once_f_duration flowgraph category pattern.
  • Uses real (unscaled) delta time via mgr.dtReal.

Tags

#flowgraph #node #ge #debug #test #duration


Additional Exports

drawMiddle(builder, style)

  • builder - any

  • style - any

  • name - string - (see source)

  • description - string - (see source)


See Also

  • AI Debug Display - Related reference
  • Camera Mouse Raycast - Related reference
  • Comment - Related reference
  • FlowGraph Guide - Guide

Stop Project

- **File:** `extensions/flowgraph/nodes/debug/stopManager.lua`

Directional Gravity

- **File:** `extensions/flowgraph/nodes/environment/directionalGravity.lua`

On this page

OverviewPin SchemaInput PinsOutput PinsBehaviorNode DisplayDuration StatesNotesTagsAdditional ExportsdrawMiddle(builder, style)See Also