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
Medal / Auto Medal (Flowgraph Node)Clear Messages (Flowgraph Node)Context Translation (Flowgraph Node)ConvertUnit (Flowgraph Node)Set UI Timer / Corner Timer (Flowgraph Node)Custom Button TEST (Flowgraph Node)Custom UI Layout (Flowgraph Node)End Screen (Flowgraph Node)End Stats (Flowgraph Node)Fade From Black (Flowgraph Node)Fade Sequence (Flowgraph Node)Fade To Black (Flowgraph Node)Flash Message (Flowgraph Node)Generic Mission Text (Flowgraph Node)Get Gamestate (Flowgraph Node)Show Editor (Flowgraph Node)Hide Game UI (Flowgraph Node)Message (Flowgraph Node)Mission End Screen (Flowgraph Node)Popup (Flowgraph Node)Monologue (Flowgraph Node)Multi Description (Flowgraph Node)On Bigmap Poi (Flowgraph Node)On Bigmap State Change (Flowgraph Node)Set UI Race Checkpoints (Flowgraph Node)Set UI Race Laps (Flowgraph Node)Set UI Race Recovery (Flowgraph Node)RT Message (Flowgraph Node)Select Buttons (Flowgraph Node)Set UI Layout (Flowgraph Node)Show Apps (Flowgraph Node)Show Monitor (Flowgraph Node)Start Screen (Flowgraph Node)Clear Goals (Flowgraph Node)Tasklist Message (Flowgraph Node)Tasklist Task (Flowgraph Node)Three Element Select (Flowgraph Node)Vehicle Selector (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 Extensionsflowgraphnodesui

Set UI Timer / Corner Timer (Flowgraph Node)

- **Node Name:** `Set UI Timer`

Overview

  • Node Name: Set UI Timer
  • Category: repeat_instant
  • File: extensions/flowgraph/nodes/ui/cornerTimer.lua
  • Author: BeamNG

Sets the UI timer app to display a specific time value. Supports both the legacy race timer and the generic mission data app.

Pin Schema

Input Pins

PinTypeDescription
valuenumberTime in seconds to display. If not connected, clears the timer.
colorstringTimer color: white, red, green, blue (default: white)
useGenericMissionDataAppboolIf true, uses the Generic Mission Data App instead of the race timer

How It Works

  1. postInit() - Sets up color hard templates (white, red, green, blue).
  2. work() - Two code paths:
    • Generic Mission Data App: Formats time as MM:SS, sends via ui_apps_genericMissionData.setData(). Clears with {category, clear=true} when no value.
    • Legacy race timer: Sends {time, timeColor} via guihooks.trigger('raceTime', data). Clears with guihooks.trigger('ScenarioResetTimer').

Key Dependencies

  • ui_apps_genericMissionData.setData(data) - the generic mission data display system
  • guihooks.trigger('raceTime', data) - legacy race timer UI hook
  • guihooks.trigger('ScenarioResetTimer') - clears the legacy race timer

Generic Mission Data Format

{
  title = "missions.missions.general.time",
  txt = "02:30",
  minutes = "02",
  seconds = "30",
  category = "cornerTimer_virtual",
  style = "text",
  order = 100
}

Example Usage

-- Show 90 seconds on the timer:
-- value=90 → displays "01:30"

-- Clear the timer:
-- Disconnect or nil the value pin
guihooks.trigger('ScenarioResetTimer')

See Also

  • Medal / Auto Medal (Flowgraph Node) - Related reference
  • Clear Messages (Flowgraph Node) - Related reference
  • Context Translation (Flowgraph Node) - Related reference
  • FlowGraph Guide - Guide

ConvertUnit (Flowgraph Node)

- **Node Name:** `ConvertUnit`

Custom Button TEST (Flowgraph Node)

- **Node Name:** `Custom Button TEST`

On this page

OverviewPin SchemaInput PinsHow It WorksKey DependenciesGeneric Mission Data FormatExample UsageSee Also