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
State Entry (Flowgraph State Node)State Exit (Flowgraph State Node)State Node (Flowgraph Node)Transition (Flowgraph Node)Get Transition Variables (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 Extensionsflowgraphnodesstates

State Entry (Flowgraph State Node)

- **Node Name:** `State Entry`

Overview

  • Node Name: State Entry
  • Type: State node (created via _flowgraph_createStateNode)
  • File: extensions/flowgraph/nodes/states/stateEntry.lua

Entry point for a stategraph. This is the starting node where execution begins when a state is entered.

Pin Schema

Output Pins

PinTypeDescription
flowstateState flow output - connects to the first state in the graph

Node Properties

PropertyValueDescription
hiddentrueNot visible in the node palette
undeleteabletrueCannot be deleted by the user
uncopyabletrueCannot be copied
icon"trending_down"Downward arrow icon
colorgreen (0.4, 1, 0.4, 1)Green tint to indicate entry

How It Works

  1. Every stategraph has exactly one State Entry node, automatically created.
  2. It cannot be deleted or duplicated - it's a structural node.
  3. The state flow output connects to the first state node in the graph.
  4. When the stategraph is entered (via a state transition), execution begins from this node.

Key Dependencies

  • _flowgraph_createStateNode(C) - state node factory (differs from regular _flowgraph_createNode)

See Also

  • State Exit (Flowgraph State Node) - Related reference
  • State Node (Flowgraph Node) - Related reference
  • Transition (Flowgraph Node) - Related reference
  • FlowGraph Guide - Guide

Procedural Direct CamPath (Flowgraph Node)

- **Node Name:** `Procedural Direct Campath`

State Exit (Flowgraph State Node)

- **Node Name:** `State Exit`

On this page

OverviewPin SchemaOutput PinsNode PropertiesHow It WorksKey DependenciesSee Also