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
Align For CouplingApply Velocity to VehicleBoost VehicleSet Vehicle ColorsCustom Parts Config ProviderEnter VehicleFlip UprightFreeze VehicleGenerate License PlateGet Vehicle ActiveGet Electrics ValueGet GearboxmodeGet Powertrain DataGravity ForceDistance From GroundHas Coupler TagIs CoupledIs Player UsableKeep VehicleMove Vehicle ToOn Cannon FiredOn Vehicle DestroyedOn Vehicle ResetOn Vehicle SpawnedOn Vehicle SwitchedPlayer UsableRandom Config ProviderRecover In PlaceRemove VehicleTimeline ReplaySet Vehicle ActiveSet Gearbox ModeSet IgnitionSet License PlateSet LightbarSet LightsShift to Gear IndexSpawn VehicleVehicle StatesTeleport To Last RoadToggle Vehicle ControlsMove To ShowroomVehicle TouchProps TouchStatic Object TouchTrack VehicleTrailer Respawn ControlVehicle Config ProviderGet Vehicle DataGet Vehicle DataGet Vehicle BoundsVehicle PingGet Vehicle Wheel Center

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 Extensionsflowgraphnodesvehicle

Trailer Respawn Control

- **Node Name:** `Trailer Respawn Control`

Overview

  • Node Name: Trailer Respawn Control
  • Category: once_instant
  • File: extensions/flowgraph/nodes/vehicle/trailerRespawn.lua

Enables or disables the automatic trailer respawn system. When enabled, trailers automatically respawn with their attached vehicles.

Pin Schema

Input Pins

PinTypeDescription
enabledboolEnable or disable the trailer respawn system (hardcoded, default false).

Internals

Key Methods

MethodDescription
init()Sets self.enabled = true.
work()Calls core_trailerRespawn.setEnabled() with the pin value when flow is active.

Dependencies

  • core_trailerRespawn - declared in C.dependencies, auto-loaded by the flowgraph.

How It Works

  1. When triggered (flow is active), calls core_trailerRespawn.setEnabled(enabled).
  2. This controls whether trailers will automatically respawn when their attached vehicle respawns.
  3. As a once_instant node, it fires once per trigger rather than every frame.

Usage Example

-- Flowgraph:
-- [Mission Start] → flow → [Trailer Respawn Control (enabled=true)]
-- [Mission End]   → flow → [Trailer Respawn Control (enabled=false)]

-- Equivalent GE Lua:
core_trailerRespawn.setEnabled(true)   -- enable auto-respawn
core_trailerRespawn.setEnabled(false)  -- disable auto-respawn

Key Dependencies

  • core_trailerRespawn - trailer respawn management extension

See Also

  • Align for Coupling (Flowgraph Node) - Related reference
  • Apply Velocity to Vehicle (Flowgraph Node) - Related reference
  • Boost Vehicle (Flowgraph Node) - Related reference
  • FlowGraph Guide - Guide

Track Vehicle

- **Node Name:** `Track Vehicle`

Vehicle Config Provider

- **Node Name:** `Vehicle Config Provider`

On this page

OverviewPin SchemaInput PinsInternalsKey MethodsDependenciesHow It WorksUsage ExampleKey DependenciesSee Also