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
ARunForLife (Flowgraph Node)Clear Lights Drag Race (Flowgraph Node)Countdown Lights Controller (Flowgraph Node)Get Custom Vehicle Data (Flowgraph Node)Get Mission Setup Data (Flowgraph Node)Check Players Position / Go To Start Line (Flowgraph Node)KnockAway Check (Flowgraph Node)Lights Controller (Flowgraph Node)Mission Post Clean (Flowgraph Node)Mission Cleanup / Pre Clean (Flowgraph Node)Prepare Vehicle (Flowgraph Node)Remove Stashed Player Vehicle (Flowgraph Node)Select Garage Vehicle (Flowgraph Node)Select Garage Sites / Zones (Flowgraph Node)Select Garage Spots (Flowgraph Node)Select Heist Spots (Flowgraph Node)Set Stage Lights (Flowgraph Node)Update Display Drag Race (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 Extensionsflowgraphnodesmission

Get Mission Setup Data (Flowgraph Node)

- **Node Name:** `Get Mission Setup Data`

Overview

  • Node Name: Get Mission Setup Data
  • Category: provider
  • File: extensions/flowgraph/nodes/mission/getSetupData.lua

Provides values from the mission setup modules, including player vehicle configuration and traffic settings chosen during mission setup.

Pin Schema

Output Pins

PinTypeDescription
useOriginalPlayerVehboolTrue if the player's pre-existing vehicle was selected
playerModelstringThe provided player vehicle model (hidden)
playerConfigstringThe provided player vehicle config name (hidden)
playerConfigPathstringFull config file path (hidden)
useTrafficboolTrue if traffic is enabled for the mission
usePrevTrafficboolTrue if using pre-mission traffic (hidden)
trafficAmountnumberDefined traffic amount
trafficActiveAmountnumberDefined active traffic amount
trafficRespawnRatenumberDefined traffic respawn rate

How It Works

  1. The node reads self.mgr.activity.setupModules - the mission's setup module data.
  2. If the activity or setup data is nil, the node returns early (no outputs set).
  3. Vehicle data comes from setupModules.vehicles:
    • usePlayerVehicle → boolean coerced
    • playerModel, playerConfig, playerConfigPath → strings with empty fallbacks
  4. Traffic data comes from setupModules.traffic:
    • useTraffic, usePrevTraffic → boolean coerced
    • amount, activeAmount, respawnRate → numbers with 0 fallback

Lua Example

-- In a mission flowgraph:
-- Connect this node's outputs to conditionally spawn vehicles or traffic
-- useOriginalPlayerVeh → Branch node → skip vehicle spawn if true
-- useTraffic → Branch node → enable/disable traffic spawning
-- trafficAmount → Traffic spawner node's amount input

Key Dependencies

  • self.mgr.activity.setupModules - mission setup module data structure
  • _flowgraph_createNode() - standard flowgraph node registration

Additional Methods

C:work()

Main work function called each frame/tick when the node is active.


See Also

  • ARunForLife (Flowgraph Node) - Related reference
  • Update Display Drag Race (Flowgraph Node) - Related reference
  • Clear Lights Drag Race (Flowgraph Node) - Related reference
  • FlowGraph Guide - Guide

Get Custom Vehicle Data (Flowgraph Node)

- **Node Name:** `Get Custom Vehicle Data`

Check Players Position / Go To Start Line (Flowgraph Node)

- **Node Name:** `Check Players Position`

On this page

OverviewPin SchemaOutput PinsHow It WorksLua ExampleKey DependenciesAdditional MethodsC:work()See Also