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
Collection Marker (Flowgraph Node)Custom Lua Command (Flowgraph Node)Get Object Field (Flowgraph Node)Get Player Vehicle ID (Flowgraph Node)Get Point on Decalroad (Flowgraph Node)Show/Hide Object (Flowgraph Node)ID by Name (Flowgraph Node)Keep Prefab (Flowgraph Node)Particle Emitter (Flowgraph Node)Point on Decalroad (Flowgraph Node)Raceline Parking (Flowgraph Node)Raycast (Flowgraph Node)Parking Markers / Rect Marker (Flowgraph Node)Reload Collision (Flowgraph Node)Reload Nav Graph (Flowgraph Node)Remove Prefab (Flowgraph Node)Reset Prefab (Flowgraph Node)Set Object Field (Flowgraph Node)Sevensegment Display (Flowgraph Node)Single Marker (Flowgraph Node)Spawn Light / SpotLight (Flowgraph Node)Spawn Prefab (Flowgraph Node)Spawn TSStatic (Flowgraph Node)Store Statics (Flowgraph Node)Track Prefab (Flowgraph Node)
Camera Transform (Flowgraph Node)Camera Look at Position (Flowgraph Node)Camera Auto Circle (Flowgraph Node)Simple Cam Path (Flowgraph Node)Get Camera FOV (Flowgraph Node)Get Camera Mode (Flowgraph Node)Get Cam Path (Flowgraph Node)Restart Cam Path (Flowgraph Node)Return Camera to Vehicle (Flowgraph Node)Set Camera FOV (Flowgraph Node)Set Camera Mode (Flowgraph Node)Set Camera Position (Flowgraph Node)Set Camera Rotation (Flowgraph Node)Start Cam Path (Flowgraph Node)Stop Cam Path (Flowgraph Node)

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 Extensionsflowgraphnodesscenecamera

Get Cam Path (Flowgraph Node)

- **Node Name:** `Get Cam Path`

Overview

  • Node Name: Get Cam Path
  • Category: once_f_duration
  • File: extensions/flowgraph/nodes/scene/camera/getCamPath.lua

Monitors the state of a camera path - whether it is active, complete, or inactive - and outputs duration and completion status. Used to track camera path playback within flowgraph scenarios.

Pin Schema

Input Pins

PinTypeDescription
flowflowInflow for this node
resetflow (impulse)Resets the node state
idnumberId of the camera path. If not set, uses the currently active camera path

Output Pins

PinTypeDescription
flowflowOutflow for this node
inactiveflowOutflow if the campath is not active or no campath is running (hidden)
completeflowOutflow if the campath is complete
completedflow (impulse)Fires once when the campath completes (hidden)
incompleteflowOutflow when the campath is active but not complete (hidden)
durationnumberDuration of the path (hidden)

Behavior

  • work() - Each frame, checks whether the specified (or currently active) camera path is active via self.mgr.modules.camera.activePathId.
    • If inactive: sets inactive = true, complete/completed/incomplete = false, duration = 0.
    • If active: queries isPathComplete(id) and getPathDuration(id) from the camera module. Fires the completed impulse exactly once on transition to complete.
  • reset pin - Triggers _executionStarted(), clearing the done and completedFlag state.

Key Dependencies

  • self.mgr.modules.camera - Flowgraph camera module for path management (activePathId, isPathComplete(), getPathDuration())

How It Works

The node passes through the input flow and additionally monitors camera path state every frame. It uses an internal completedFlag to ensure the completed impulse pin fires only once when the path finishes. The reset impulse pin allows re-monitoring the same path.

Example Usage

-- In a flowgraph: wire a Start Cam Path node's id output into this node's id input
-- Then branch on complete/incomplete to trigger next scene actions
-- The completed impulse fires exactly once, useful for triggering one-shot events

Additional Methods

C:_executionStopped()

Called when graph execution stops. Used for cleanup.

C:drawMiddle(builder, style)

Custom ImGui drawing in the middle section of the node in the editor.

Parameters:

  • builder
  • style

C:init()

Initializes the node, setting up pins and default properties.


See Also

  • Camera Transform (Flowgraph Node) - Related reference
  • Camera Look at Position (Flowgraph Node) - Related reference
  • Camera Auto Circle (Flowgraph Node) - Related reference
  • FlowGraph Guide - Guide

Get Camera Mode (Flowgraph Node)

- **Node Name:** `Get Camera Mode`

Restart Cam Path (Flowgraph Node)

- **Node Name:** `Restart Cam Path`

On this page

OverviewPin SchemaInput PinsOutput PinsBehaviorKey DependenciesHow It WorksExample UsageAdditional MethodsC:_executionStopped()C:drawMiddle(builder, style)C:init()See Also