API ReferenceGE Extensionsflowgraphnodesgameplaytraffic
Scatter Traffic
**File:** `flowgraph/nodes/gameplay/traffic/trafficScatter.lua`
File: flowgraph/nodes/gameplay/traffic/trafficScatter.lua
Description: Teleports all traffic vehicles away from the player or camera position.
Category: once_instant Tags: traffic, ai, respawn, teleport
Input Pins
| Name | Type | Description |
|---|---|---|
minDist | number | (Optional) Minimum distance away from the player to teleport vehicles. |
maxDist | number | (Optional) Maximum distance away from the player to teleport vehicles. |
Methods
C:workOnce()
See Also
- Add Vehicle (Traffic) - Related reference
- Traffic Driving Stats - Related reference
- File Vehicle Group - Related reference
- FlowGraph Guide - Guide