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
Load Project (Flowgraph Node)Receive Message (Flowgraph Node)Send Message (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 Extensionsflowgraphnodesthread

Load Project (Flowgraph Node)

- **Node Name:** `Load Project`

Overview

  • Node Name: Load Project
  • Category: once_p_duration
  • File: extensions/flowgraph/nodes/thread/loadProject.lua

Loads and starts a flowgraph project from a file path, enabling multi-project (threaded) flowgraph execution.

Pin Schema

Input Pins

PinTypeDescription
pathstringFile path to the .flow.json project file

Output Pins

PinTypeDescription
idnumberProject ID for further processing (messaging, etc.)

Behavior

  • init(mgr) - Initializes targetId to nil.
  • postInit() - Configures the path pin to accept .flow.json files via file dialog.
  • _executionStarted() / _executionStopped() - Resets targetId.
  • workOnce() - Resolves the path (tries with and without .flow.json extension) and calls self.mgr.modules.thread:startProjectFromFilepath(fp, self). Outputs the project ID.

How It Works

  1. Set the path to a flowgraph project file (e.g. "flowgraphEditor/myProject").
  2. On execution, the node loads and starts the project as a child thread.
  3. The output id can be used with sendMessage / receiveMessage nodes for inter-project communication.
-- The node resolves the path and starts the project:
local fp = self.mgr:getRelativeAbsolutePath({
  path,
  path .. ".flow.json"
})
local projectId = self.mgr.modules.thread:startProjectFromFilepath(fp, self)

Key Dependencies

  • self.mgr.modules.thread - Thread module for managing child projects
  • self.mgr:getRelativeAbsolutePath() - Path resolution utility

See Also

  • Receive Message (Flowgraph Node) - Related reference
  • Send Message (Flowgraph Node) - Related reference
  • FlowGraph Guide - Guide

Create Ultrasonic Sensor (Flowgraph Node)

- **Node Name:** `Create Ultrasonic Sensor`

Receive Message (Flowgraph Node)

- **Node Name:** `Receive Message`

On this page

OverviewPin SchemaInput PinsOutput PinsBehaviorHow It WorksKey DependenciesSee Also