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 Replay (Flowgraph Node)

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

Overview

  • Node Name: Stop Replay
  • Category: repeat_instant
  • File: extensions/flowgraph/nodes/recording/stopReplay.lua

Stops the currently playing replay if one is active.

Pin Schema

Input Pins

None (no explicit pins; uses default flow).

Output Pins

None.

Internals

  • Checks core_replay.state.state each frame.
  • Only calls core_replay.stop() when the state is "playback".

How It Works

  1. Every frame, checks if a replay is currently in playback state.
  2. If so, stops it via core_replay.stop().
  3. Since the category is repeat_instant, this runs every frame while active - it will stop playback as soon as it detects it.

Lua Code Example

-- Stop replay when a condition is met:
-- trigger/button → stopReplay (via flow connection)
-- Automatically halts any active replay playback.

Key Dependencies

  • core_replay - replay system (state, stop())

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

Stop Auto Replay (Flowgraph Node)

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

Collection Marker (Flowgraph Node)

- **Node Name:** `Collection Marker`

On this page

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