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
Route Distance (Flowgraph Node)Closest Road (Flowgraph Node)Custom Lua (Flowgraph Node)Distance Between (Flowgraph Node)Waypoints Distance (Flowgraph Node)File Exists (Flowgraph Node)Get First Element of Table (Flowgraph Node)Get Level Data (Flowgraph Node)Get Map Objects IDs by DynField (Flowgraph Node)Get Table Value By Key (Flowgraph Node)GHOST (Flowgraph Node)Hide Loading Screen (Flowgraph Node)Color HSV (Flowgraph Node)Line Point From Xnorm (Flowgraph Node)Load Level (Flowgraph Node)Load Project (Flowgraph Node)On Menu (Flowgraph Node)Perlin Noise (Flowgraph Node)Pop Action Map (Flowgraph Node)Get Project InfoPush Action MapRandom ColorRandom NumberRandom QuaternionRandom VectorRoad PropertiesGet Navgraph RouteRoute PositionTemplate NodeTimeTimed SequenceTo NumberTo StringWorld Editor Open

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 Extensionsflowgraphnodesutil

Get Project Info

- **Node Name:** `Get Project Info`

Overview

  • Node Name: Get Project Info
  • Category: once_instant
  • File: extensions/flowgraph/nodes/util/project.lua

Provides metadata about the current flowgraph project: name, description, file info, associated level, and current graph details.

Pin Schema

Output Pins

PinTypeDescription
idnumber (hidden)Numeric ID of the project manager
namestringName of the project
descriptionstringDescription of the project
hasFilenameflow (hidden)Fires if the project was loaded from a file
filenamestring (hidden)Filename without .flow.json extension
filepathstring (hidden)Full save path without .flow.json extension
hasLevelflow (hidden)Fires if the project file is inside a level folder
levelstring (hidden)Level identifier (if applicable)
graphstring (hidden)Name of the current graph
graphIdnumber (hidden)ID of the current graph

Internals

Key Methods

MethodDescription
init(mgr)Disables clearOutPinsOnStart
workOnce()Reads project metadata from self.graph.mgr and self.mgr

How It Works

  1. Reads id, name, and description from the flowgraph manager.
  2. If the project has a saved filename (self.mgr.savedFilename):
    • Sets hasFilename flow to true.
    • Splits the path to extract filename and full filepath.
  3. If the project's save directory is inside a level folder:
    • Uses path.levelFromPath() to detect the level.
    • Sets hasLevel flow and outputs the level identifier.
  4. Outputs current graph name and ID.

Usage Example

-- Display project info in a debug HUD:
-- [Get Project Info] → name → [Display Text]
--                    → description → [Display Text]

-- Conditionally load resources based on associated level:
-- [Get Project Info] → hasLevel → [Load Level Assets]
--                    → level → [Get Level Path]

-- Check if project has been saved:
-- [Get Project Info] → hasFilename → [Log] "Project saved as: " + filename

Key Dependencies

  • self.graph.mgr - reference to the flowgraph manager (id, name, description)
  • self.mgr.savedFilename / self.mgr.savedDir - file metadata
  • path.splitWithoutExt() - splits a path into directory, filename, and extension
  • path.levelFromPath() - extracts a level identifier from a directory path

See Also

  • Route Distance (Flowgraph Node) - Related reference
  • Closest Road (Flowgraph Node) - Related reference
  • Custom Lua (Flowgraph Node) - Related reference
  • FlowGraph Guide - Guide

Pop Action Map (Flowgraph Node)

- **Node Name:** `Pop Action Map`

Push Action Map

- **Node Name:** `Push Action Map`

On this page

OverviewPin SchemaOutput PinsInternalsKey MethodsHow It WorksUsage ExampleKey DependenciesSee Also