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
File SitesLocationLocation by NameLocations by TagsParking SpotParking Spot by NamePosition in ZoneZone by Name

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 Extensionsflowgraphnodesgameplaysites

Locations by Tags

**File:** `flowgraph/nodes/gameplay/sites/locationsByTag.lua`

File: flowgraph/nodes/gameplay/sites/locationsByTag.lua

Description: Finds a maximum number of locations that have a certain tag and are a min/max distance away.

Category: once_instant Tags: scenario, sites

Input Pins

NameTypeDescription
sitesDatatableSites Data.
tagstringname of the tag
posvec3Position to search from if distance is used.
minDistnumberminimum Distance of nodes. -1 for no miminum.
maxDistnumbermax Distance of nodes. -1 for no maximum.
amountnumbermax number of locations to find. -1 for max.

Output Pins

NameTypeDescription
countnumberHow many locations are actually found.
found_1flowIf a location has been found.
loc_1tableLocation Data.

Methods

  • C:init(mgr, ...)
  • C:drawCustomProperties()
  • C:updatePins(old, new)
  • C:workOnce()
  • C:_onSerialize(res)
  • C:_onDeserialized(res)

See Also

  • File Sites - Related reference
  • Location - Related reference
  • Location by Name - Related reference
  • FlowGraph Guide - Guide

Location by Name

**File:** `flowgraph/nodes/gameplay/sites/locationByName.lua`

Parking Spot

**File:** `flowgraph/nodes/gameplay/sites/parkingspot.lua`

On this page

Input PinsOutput PinsMethodsSee Also