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

Location

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

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

Description: Unwraps a location for further inspection.

Category: repeat_instant Tags: scenario, sites

Input Pins

NameTypeDescription
locationtableLocation Data.

Output Pins

NameTypeDescription
namestringName of the Location
posvec3Original Position of the Location
hasNavPosflowIf this location has a position on the navgraph.
navPosvec3Position projected onto the closest road. will be same as pos if no road can be found.
roadSidevec3Position on the side of the road (2m from the side).
roadDirquatDirection of the road
navRadiusnumberRadius of the position projected onto the closest road. will be 5 if no road can be found.

Methods

  • C:init(mgr, ...)
  • C:postInit()
  • C:updateKeys()
  • C:drawCustomProperties()
  • C:_executionStarted()
  • C:work(args)
  • C:_onSerialize(res)
  • C:_onDeserialized(nodeData)

See Also

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

File Sites

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

Location by Name

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

On this page

Input PinsOutput PinsMethodsSee Also