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

Message (Flowgraph Node)

- **Node Name:** `Message`

Overview

  • Node Name: Message
  • Category: (default, duration behaviour)
  • File: extensions/flowgraph/nodes/ui/message.lua

Shows a message in the small message app (toast-style notification). Uses guihooks.trigger('Message', ...) to display.

Pin Schema

Input Pins

PinTypeDefaultHiddenDescription
flowflow-noInflow for this node
messageany-noThe message to display. Bug: cannot start directly with a number
durationnumber5noDuration of display in seconds
categorystring"flowgraph"noCategory - only one message per category can be displayed
iconstring"info"yesMaterial icon name for the message

Output Pins

PinTypeDescription
flowflowPasses through input flow

Internals

FieldPurpose
self._timerRate-limits message triggers (pulses every 0.05s)
self.underscoreIdCacheCached "__" .. self.id for default category
helperReusable table for message data sent to guihooks

How It Works

  1. _executionStarted() - Resets timer and caches the node ID string.
  2. work() - Called every frame while flow is active:
    • When _timer <= 0, builds a message table with clear, ttl, msg, category, and icon fields.
    • Triggers guihooks.trigger('Message', helper) to show the toast.
    • Resets the pulse timer to prevent spamming (0.05s interval).
    • Passes flow through to output.
  3. _afterTrigger() - Resets timer when flow stops.
  4. drawCustomProperties() - Adds an "Open Icons overview" button in the editor.

If message is nil, the helper sets clear = true to dismiss the current message.

Lua Code Example

-- Direct equivalent of what this node does:
guihooks.trigger('Message', {
  msg = "Hello World!",
  ttl = 5,
  category = "myCategory",
  icon = "info",
  clear = false,
})

Key Dependencies

  • guihooks.trigger('Message', data) - BeamNG UI message toast system
  • ui_flowgraph_editor - Node color/icon constants

See Also

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

Hide Game UI (Flowgraph Node)

- **Node Name:** `Hide Game UI`

Mission End Screen (Flowgraph Node)

- **Node Name:** `Mission End Screen`

On this page

OverviewPin SchemaInput PinsOutput PinsInternalsHow It WorksLua Code ExampleKey DependenciesSee Also