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
Allow WalkingBlacklist WalkingCan Enter From WalkingCareer ActiveComplete ScenarioCountdownDecal CircleDecal LineDecal PathDecal SingleIs Walking BlacklistedGroundmarker Remaining DistanceGroundmarkersIs WalkingIs Walking EnabledMission DefaultsMultiseatDetect Acceleration At StartPointsBar PointsPointsBar ThresholdsRemove Other VehiclesToggle WalkingIn Zone
On Crash DetectedRemove Tracked Vehicle CrashTrack Multiple Vehicles CrashTrack Vehicle Crash

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 Extensionsflowgraphnodesgameplaycrash

On Crash Detected

**File:** `flowgraph/nodes/gameplay/crash/onCrashDetected.lua`

File: flowgraph/nodes/gameplay/crash/onCrashDetected.lua

Description: Trigger a flow when a tracked vehicle starts or ends a crash.

Category: repeat_instant Tags: crash, vehicle, track, crashDetection

Output Pins

NameTypeDescription
startCrashflowThe beginning of the crash.
endCrashflowThe end of the crash.
vehIdnumberThe id of the vehicle that crashed.

Methods

  • C:init()
  • C:_executionStopped()
  • C:reset()
  • C:work()
  • C:onVehicleCrashStarted(crashStartData)
  • C:onVehicleCrashEnded(crashEndData)

See Also

  • Remove Tracked Vehicle Crash - Related reference
  • Track Multiple Vehicles Crash - Related reference
  • Track Vehicle Crash - Related reference
  • FlowGraph Guide - Guide

In Zone

**File:** `flowgraph/nodes/gameplay/zone.lua`

Remove Tracked Vehicle Crash

**File:** `flowgraph/nodes/gameplay/crash/removeTrackedVehicleCrash.lua`

On this page

Output PinsMethodsSee Also