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
Add Vehicle (Traffic)Traffic Driving StatsFile Vehicle GroupGet Traffic StateGet Vehicle Id From TableGet Traffic Vehicle DataParking System ParametersTrack Vehicle ParkingPursuit InformationSet Pursuit ModePursuit ParametersPursuit RoadblockRemove Vehicle (Traffic)Setup Parking SystemSetup Pursuit GameplaySet Traffic Vehicle DataSet Vehicle FlowgraphActivate TrafficGenerate Vehicle GroupMove Vehicle GroupTraffic ParametersScatter TrafficSpawn Vehicle Group

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 Extensionsflowgraphnodesgameplaytraffic

Pursuit Roadblock

**File:** `flowgraph/nodes/gameplay/traffic/pursuitRoadblock.lua`

File: flowgraph/nodes/gameplay/traffic/pursuitRoadblock.lua

Description: Places vehicles in a roadblock formation.

Category: once_instant Tags: police, cops, pursuit, traffic, ai

Input Pins

NameTypeDescription
vehId1numberVehicle id to use for the first position of the roadblock.
vehId2number(Optional) Vehicle id to use for the second position of the roadblock.
vehId3number(Optional) Vehicle id to use for the third position of the roadblock.
posvec3Roadblock center position.
rotquatRoadblock forwards rotation.
widthnumber(Optional) Full width of the roadblock; vehicles will be spaced apart according to this.
anglenumber(Optional) Vehicle angle offset, in degrees.
centerAnglenumber(Optional) Vehicle angle offset, in degrees.
checkWidthboolIf true, checks if the vehicles will fit before placing them.

Methods

  • C:workOnce()

See Also

  • Add Vehicle (Traffic) - Related reference
  • Traffic Driving Stats - Related reference
  • File Vehicle Group - Related reference
  • FlowGraph Guide - Guide

Pursuit Parameters

**File:** `flowgraph/nodes/gameplay/traffic/pursuitParams.lua`

Remove Vehicle (Traffic)

**File:** `flowgraph/nodes/gameplay/traffic/removeVehicle.lua`

On this page

Input PinsMethodsSee Also