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
Bool (Flowgraph Node)Color (Flowgraph Node)Generic Set/Get Variable (Flowgraph Node)Get Variable (Flowgraph Node)Number (Flowgraph Node)Quat (Flowgraph Node)Set Variable (Flowgraph Node)String (Flowgraph Node)Transform (Flowgraph Node)Vec3 (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 Extensionsflowgraphnodestypes

Number (Flowgraph Node)

- **Node Name:** `Number`

Overview

  • Node Name: Number
  • Category: provider
  • File: extensions/flowgraph/nodes/types/number.lua

Provides a constant numeric value. The value is set via the node's data properties and output every frame.

Pin Schema

Output Pins

PinTypeDescription
valuenumberThe numeric value

How It Works

  1. init() - Sets data.value = 0 and disables clearOutPinsOnStart so the value persists across resets.
  2. work() - Copies self.data.value to the output pin each frame.
  3. drawMiddle() - Displays the current number inline on the node.

Example Usage

-- This node simply outputs a constant number.
-- Set data.value in the node properties to any number.
-- Equivalent to:
self.pinOut.value.value = self.data.value  -- e.g., 42

Additional Methods

C:onDeserialized(nodeData)

Node method.

Parameters:

  • nodeData

C:onSerialize(res)

Node method.

Parameters:

  • res

See Also

  • Bool (Flowgraph Node) - Related reference
  • Color (Flowgraph Node) - Related reference
  • Generic Set/Get Variable (Flowgraph Node) - Related reference
  • FlowGraph Guide - Guide

Get Variable (Flowgraph Node)

- **Node Name:** `Get Variable`

Quat (Flowgraph Node)

- **Node Name:** `Quat`

On this page

OverviewPin SchemaOutput PinsHow It WorksExample UsageAdditional MethodsC:onDeserialized(nodeData)C:onSerialize(res)See Also