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 Information

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

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

Description: Gives information about the pursuit state.

Category: repeat_instant Tags: police, cops, pursuit, chase, info, traffic, ai

Input Pins

NameTypeDescription
vehIdnumberVehicle id to get information from; if none given, uses the player vehicle.

Output Pins

NameTypeDescription
activeflowSends flow while the target is being chased.
arrestflowSends an impulse when the target is busted.
evadeflowSends an impulse when the target evades the police.
modenumberPursuit mode; 0 = off, 1 - 3 = chase (heat levels), -1 = busted.
scorenumberPursuit score.
sightValuenumberVisibility to nearest police vehicle (from 0 to 1)
arrestValuenumberArrest progress (from 0 to 1)
evadeValuenumberEvade progress (from 0 to 1)
timeElapsednumberTime duration of pursuit.
roadblocksnumberNumber of police roadblocks encountered.
collisionsnumberNumber of vehicle collisions.
policeWrecksnumberNumber of police vehicles wrecked.
offensesnumberNumber of total pursuit offenses.
uniqueOffensesnumberNumber of total unique pursuit offenses (e.g. only counts the first traffic collision).
offensesListtableArray of pursuit offenses.

Methods

  • C:init()
  • C:_executionStopped()
  • C:reset()
  • C:work()
  • C:onPursuitAction(id, action, data)

See Also

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

Track Vehicle Parking

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

Set Pursuit Mode

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

On this page

Input PinsOutput PinsMethodsSee Also