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)
Create Button (Flowgraph Node)Get Button (Flowgraph Node)Get Multiple Buttons (Flowgraph Node)Set Button Property (Flowgraph Node)Set Multiple Buttons Property (Flowgraph Node)Simple Button (Flowgraph Node)Simple Multiple Buttons (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 Extensionsflowgraphnodesuibuttons

Simple Multiple Buttons (Flowgraph Node)

- **Node Name:** `Simple Multiple Buttons`

Overview

  • Node Name: Simple Multiple Buttons
  • Category: once_instant
  • File: extensions/flowgraph/nodes/ui/buttons/simpleMultipleButtons.lua

All-in-one node for creating and monitoring multiple buttons. Combines create + get functionality with configurable button count and per-button hide-on-done support.

Pin Schema (per slot, numbered _1, _2, etc.)

Input Pins

PinTypeDefaultDescription
hideWhenDone_NbooltrueHide button N after first click
label_Nstring"Button_N"Label for button N
order_Nnumber-(Hidden) Order for button N
style_Nstring"default"(Hidden) Style for button N

Output Pins

PinTypeDescription
clicked_Nflow(Impulse) Fires when button N is clicked
complete_Nflow(Hidden) Fires after button N's first click
incomplete_Nflow(Hidden) Fires while button N hasn't been clicked
buttonId_NnumberID of button N

How It Works

  1. _executionStarted() - Initializes hiddenAfterDone and hiddenAfterReset arrays.
  2. drawCustomProperties() - Integer input to set button count.
  3. updatePins(old, new) - Adds/removes 4-input + 4-output pin groups per slot.
  4. workOnce() - Creates all buttons via the button module.
  5. work() - Each frame: un-hides reset buttons, reads click states, auto-hides completed buttons if configured.
  6. onNodeReset() - Hides all buttons on reset.

Serialization

  • Saves and restores count, rebuilding all pins on deserialization.

Example Usage

-- Create a choice menu with 3 buttons:
-- Set count=3, label_1="Option A", label_2="Option B", label_3="Option C"
-- Branch on clicked_1, clicked_2, clicked_3

See Also

  • Create Button (Flowgraph Node) - Related reference
  • Get Button (Flowgraph Node) - Related reference
  • Get Multiple Buttons (Flowgraph Node) - Related reference
  • FlowGraph Guide - Guide

Simple Button (Flowgraph Node)

- **Node Name:** `Simple Button`

ImGui Dialogue

- **Node Name:** `im Dialogue`

On this page

OverviewPin Schema (per slot, numbered _1, _2, etc.)Input PinsOutput PinsHow It WorksSerializationExample UsageSee Also