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

Generic Mission Text (Flowgraph Node)

- **Node Name:** `Generic Mission Text`

Overview

  • Node Name: Generic Mission Text
  • Category: repeat_instant
  • File: extensions/flowgraph/nodes/ui/genericMissionDataText.lua

Displays generic mission info (time, counters, etc.) in the in-game HUD via ui_apps_genericMissionData.

Pin Schema

Input Pins

PinTypeDefaultDescription
titlestring"missions.missions.general.time"Title / label (hardcoded)
txtany-Text or numeric value to display
iconstring"info"Icon identifier
ordernumber-Display order (higher = rightmost)
categorystring"flowgraph"Category key; one message per category (hidden)
stylestring"text"Display mode: "text", "time", "timemillis" (hidden, hardcoded)
clearbool-If true, removes the info (hidden)

Internals

Key Methods

MethodDescription
postInit()Sets up hard templates for style and title pins
work()Formats and sends data to ui_apps_genericMissionData.setData(), or clears it

Style Formatting

StyleFormatExample
textRaw value"42"
timeMM:SS"01:30"
timemillisMM:SS.mmm"01:30.456"

When using time or timemillis styles, the txt input should be a number (seconds). The node formats it and also provides separate minutes, seconds, and milliseconds fields.

How It Works

  1. Each frame, work() checks if there's data to display or if clear is set.
  2. If clearing, calls clearData() or setData({category, clear=true}).
  3. Otherwise, builds a data table with title, text, category, style, order, and icon.
  4. For time styles, formats the numeric input into MM:SS or MM:SS.mmm.
  5. Sends data via ui_apps_genericMissionData.setData(data).
  6. Sets mgr.modules.ui.genericMissionDataChanged = true to notify the UI.

Usage Example

-- Display a timer in MM:SS format:
-- title = "missions.missions.general.time"
-- txt = 93.5 (seconds)
-- style = "time"
-- Result: "01:33"

-- Display arbitrary text:
-- title = "Score"
-- txt = "1500 pts"
-- style = "text"

-- Clear a category:
-- category = "flowgraph", clear = true
ui_apps_genericMissionData.clearData()

Key Dependencies

  • ui_apps_genericMissionData.setData() - sends HUD data
  • ui_apps_genericMissionData.clearData() - clears all HUD data

See Also

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

Flash Message (Flowgraph Node)

- **Node Name:** `Flash Message`

Get Gamestate (Flowgraph Node)

- **Node Name:** `Get Gamestate`

On this page

OverviewPin SchemaInput PinsInternalsKey MethodsStyle FormattingHow It WorksUsage ExampleKey DependenciesSee Also