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

Vehicle Ping

- **Node Name:** `Vehicle Ping`

Overview

  • Node Name: Vehicle Ping
  • Category: once_f_duration
  • File: extensions/flowgraph/nodes/vehicle/vehiclePing.lua

Pings a vehicle to ensure that previously sent instructions have been received before continuing. Useful as a synchronisation barrier in flowgraph sequences.

Pin Schema

Input Pins

PinTypeDescription
vehIdnumberID of the vehicle to ping. Falls back to player vehicle.

Internals

Key Methods

MethodDescription
init()Calls onNodeReset().
_executionStarted()Calls onNodeReset().
onNodeReset()Clears receivedInfo and sets duration state to 'inactive'.
workOnce()Sends a ping request to the vehicle via core_vehicleBridge.requestValue() and sets state to 'started'.
work()Checks if the ping response has been received; if so, sets state to 'finished'.

Duration State Machine

  1. inactive → started (on workOnce, ping sent)
  2. started → finished (when callback fires with response)

How It Works

  1. On first execution, sends a 'ping' request to the vehicle via core_vehicleBridge.requestValue().
  2. The callback sets self.receivedInfo = true when the vehicle responds.
  3. On subsequent frames, work() checks for the response flag and transitions to 'finished' when received.
  4. This acts as a barrier - downstream nodes only execute after the vehicle has acknowledged the ping.

Usage Example

-- Flowgraph:
-- [Send Lua Command to Vehicle] → flow → [Vehicle Ping] → finished → [Read Result]
--                                             ↑ vehId ← [Vehicle ID]

-- The ping ensures the vehicle has processed all queued commands
-- before the flowgraph continues.

-- Equivalent GE Lua:
local veh = getPlayerVehicle(0)
core_vehicleBridge.requestValue(veh, function(val)
  -- vehicle has responded, safe to proceed
end, 'ping')

Key Dependencies

  • core_vehicleBridge.requestValue() - async vehicle communication bridge

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

Get Vehicle Bounds

- **Node Name:** `Get Vehicle Bounds`

Get Vehicle Wheel Center

- **Node Name:** `Get Vehicle Wheel Center`

On this page

OverviewPin SchemaInput PinsInternalsKey MethodsDuration State MachineHow It WorksUsage ExampleKey DependenciesSee Also