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
| Pin | Type | Description |
|---|---|---|
stopRec | flow (impulse) | Stops the current recording |
attemptNotCompleted | bool | Set to true if the mission attempt was not finished |
Output Pins
None.
Internals
- Uses
self.mgr.modules.missionReplayfor replay management.
How It Works
- If
attemptNotCompletedis true, callsmissionReplay:saveMetaInfoWithoutAttempt()to save metadata even though the attempt wasn't completed. - 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