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
Add To Inventory (Flowgraph Node)Career Vehicle Select (Flowgraph Node)Set Tutorial Step (Flowgraph Node)Complete Quest (Flowgraph Node)On Custom Tow (Flowgraph Node)Garage Computer Util (Flowgraph Node)Garage Tutorial Util (Flowgraph Node)Get Tutorial Step (Flowgraph Node)Get Tutorial Flag (Flowgraph Node)Logbook Entry (Flowgraph Node)Menu Closed (Flowgraph Node)On Garage Event (Flowgraph Node)On Intro Popup Career Closed (Flowgraph Node)On Poi Prompt Shown (Flowgraph Node)On Mission Start/Stop (Flowgraph Node)On RefuelingOn Testdrive ChangedOn Vehicle Shopping EventAdd Or Remove Player AttributeSet Fuel LevelSet Tutorial FlagTasklist HeaderVehicle Group by Performance Class

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 Extensionsflowgraphnodescareer

On Testdrive Changed

- **Name:** `On Testdrive Changed`

Overview

  • Name: On Testdrive Changed
  • Category: repeat_instant
  • File: lua/ge/extensions/flowgraph/nodes/career/onTestDriveChanged.lua
  • Pattern: Class-based (C = {}, returns _flowgraph_createNode(C))

Description

Detects when a test drive starts or ends during career vehicle shopping. Uses hook callbacks to queue impulse flags consumed each frame.

Pin Schema

Output Pins

PinTypeDescription
startedflow (impulse)Fires once when a test drive starts
endedflow (impulse)Fires once when a test drive ends (after fade)

Behavior

  • work() resets the started pin each frame, then applies any queued flags from callbacks before clearing them.
  • onTestDriveStarted() sets the started flag.
  • onTestDriveEndedAfterFade() sets the ended flag.

Tags

#flowgraph #node #ge #career #testdrive


Additional Exports

init()

  • name - string - (see source)

  • description - string - (see source)

  • color - any - (see source)

  • icon - any - (see source)

  • category - string - (see source)

  • pinSchema - table - (see source)

  • dependencies - table - (see source)


See Also

  • Add To Inventory (Flowgraph Node) - Related reference
  • Career Vehicle Select (Flowgraph Node) - Related reference
  • Set Tutorial Step (Flowgraph Node) - Related reference
  • FlowGraph Guide - Guide

On Refueling

- **Name:** `On Refueling`

On Vehicle Shopping Event

- **Name:** `On Vehicle Shopping Event`

On this page

OverviewDescriptionPin SchemaOutput PinsBehaviorTagsAdditional Exportsinit()See Also