API ReferenceGE Extensionsflowgraphnodesscenecamera
Stop Cam Path (Flowgraph Node)
- **Node Name:** `Stop Cam Path`
Overview
- Node Name:
Stop Cam Path - Category:
once_instant - File:
extensions/flowgraph/nodes/scene/camera/stopCamPath.lua
Stops a camera path. The path will not be marked as complete - it becomes inactive.
Pin Schema
Input Pins
| Pin | Type | Description |
|---|---|---|
id | number | Id of the camera path. If not given, stops the currently active path (hidden) |
Behavior
workOnce()- Callsself.mgr.modules.camera:endActivePath(id)to stop the specified or currently active camera path.
Key Dependencies
self.mgr.modules.camera:endActivePath(id)- Ends a camera path without marking it complete
How It Works
A one-shot node that immediately halts camera path playback. Important distinction: the path is marked as inactive, not complete - so any Get Cam Path node monitoring it will see inactive = true rather than complete = true. Use this for interrupting cinematics or cancelling paths early.
Example Usage
-- Wire to a skip button or trigger to interrupt a cinematic
-- Follow with Return Camera to Vehicle to give control back
-- Note: Get Cam Path will report inactive, not completeAdditional Methods
C:drawMiddle(builder, style)
Custom ImGui drawing in the middle section of the node in the editor.
Parameters:
builderstyle
See Also
- Camera Transform (Flowgraph Node) - Related reference
- Camera Look at Position (Flowgraph Node) - Related reference
- Camera Auto Circle (Flowgraph Node) - Related reference
- FlowGraph Guide - Guide