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
Play Replay (Flowgraph Node)Record Camera (Flowgraph Node)Record Replay (Flowgraph Node)Start Auto Replay (Flowgraph Node)Stop Auto Replay (Flowgraph Node)Stop Replay (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 Extensionsflowgraphnodesrecording

Stop Auto Replay (Flowgraph Node)

- **Node Name:** `Stop Auto Replay`

Overview

  • Node Name: Stop Auto Replay
  • File: extensions/flowgraph/nodes/recording/stopAutoReplay.lua

Stops the current mission recording if one is active. Optionally saves meta info for incomplete attempts.

Pin Schema

Input Pins

PinTypeDescription
stopRecflow (impulse)Stops the current recording
attemptNotCompletedboolSet to true if the mission attempt was not finished

Output Pins

None.

Internals

  • Uses self.mgr.modules.missionReplay for replay management.

How It Works

  1. If attemptNotCompleted is true, calls missionReplay:saveMetaInfoWithoutAttempt() to save metadata even though the attempt wasn't completed.
  2. Calls missionReplay:stopIfRec() to stop recording if currently active.

Lua Code Example

-- When mission ends (success or failure):
-- missionEnd → stopAutoReplay.stopRec (attemptNotCompleted = false)

-- When player abandons mission:
-- missionAbort → stopAutoReplay.stopRec (attemptNotCompleted = true)

Key Dependencies

  • self.mgr.modules.missionReplay - stopIfRec(), saveMetaInfoWithoutAttempt()

Additional Methods

C:work()

Main work function called each frame/tick when the node is active.


See Also

  • Play Replay (Flowgraph Node) - Related reference
  • Record Camera (Flowgraph Node) - Related reference
  • Record Replay (Flowgraph Node) - Related reference
  • FlowGraph Guide - Guide

Start Auto Replay (Flowgraph Node)

- **Node Name:** `Start Auto Replay`

Stop Replay (Flowgraph Node)

- **Node Name:** `Stop Replay`

On this page

OverviewPin SchemaInput PinsOutput PinsInternalsHow It WorksLua Code ExampleKey DependenciesAdditional MethodsC:work()See Also