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
Create TimerGet TimerSet Timer PropertySimple Timer

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 Extensionsflowgraphnodesgameplaytimers

Simple Timer

**File:** `flowgraph/nodes/gameplay/timers/simpleTimer.lua`

File: flowgraph/nodes/gameplay/timers/simpleTimer.lua

Description: Creates a new Timer object inside an all-in-one node. Timer values can not be changed after creation in this node.

Category: once_f_duration

Input Pins

NameTypeDescription
durationnumberHow long the timer should run before considered complete.
refstringReference frame for the timer.
capTimeboolIf true, elapsed, remaining and elapsedPercent will be capped if the timer is complete.

Output Pins

NameTypeDescription
timerIdnumberID of the timer.
elapsednumberAmount of time elapsed on the timer.
remainingnumberAmount of time still remaining on the timer.
durationnumberHow long the timer is running before considered complete.
elapsedPercentnumberHow complete the timer is in percent. Returns value is betwen 0 and 1.

Methods

  • C:_executionStarted()
  • C:postInit()
  • C:onNodeReset()
  • C:workOnce()
  • C:work()

See Also

  • Create Timer - Related reference
  • Get Timer - Related reference
  • Set Timer Property - Related reference
  • FlowGraph Guide - Guide

Set Timer Property

**File:** `flowgraph/nodes/gameplay/timers/setTimerProperty.lua`

Add Vehicle (Traffic)

**File:** `flowgraph/nodes/gameplay/traffic/addVehicle.lua`

On this page

Input PinsOutput PinsMethodsSee Also