API ReferenceGE Extensionsflowgraphnodescareer
On Custom Tow (Flowgraph Node)
- **Node Name:** `On Custom Tow`
Overview
- Node Name:
On Custom Tow - Category:
repeat_instant - File:
extensions/flowgraph/nodes/career/customTowAction.lua
Detects when the player uses a custom towing action in the career tutorial.
Pin Schema
Output Pins
| Pin | Type | Description |
|---|---|---|
tow | flow (impulse) | Fires once when the player is being towed. Fade from black after handling. |
Behavior
work()- Clears output pins each frame, then applies any queued flags from event hooks.onCareerCustomTowHook(poiId)- Event handler. Sets thetowflag to fire on next work cycle.
Event Hooks
onCareerCustomTowHook- triggered when custom tow action occurs
Notes
- Uses the standard flags-based impulse pattern: event sets flag,
work()applies and clears. - Contains commented-out code for enabling/disabling
customTowHookEnabledtutorial flag on execution start/stop.
See Also
- Add To Inventory (Flowgraph Node) - Related reference
- Career Vehicle Select (Flowgraph Node) - Related reference
- Set Tutorial Step (Flowgraph Node) - Related reference
- FlowGraph Guide - Guide