API ReferenceGE Extensionsflowgraphnodesgameplaycrawl
Setup Crawl
**File:** `flowgraph/nodes/gameplay/crawl/setupCrawl.lua`
File: flowgraph/nodes/gameplay/crawl/setupCrawl.lua
Description: Sets up a crawl trail by loading the trail data, teleporting the vehicle to the start position, and loading prefabs. Does not start the crawl timer - use Start Crawl node to begin the race.
Category: once_instant Tags: crawl, gameplay, setup Dependencies: gameplay_crawl_flowgraphBridge
Input Pins
| Name | Type | Description |
|---|---|---|
trailId | string | Trail ID/filepath to load |
vehicleId | number | Vehicle ID (0 = player vehicle) |
Output Pins
| Name | Type | Description |
|---|---|---|
success | flow | Triggered when crawl setup completes successfully |
failed | flow | Triggered when setup fails |
isSetup | bool | True after successful setup (crawl ready but not started) |
Methods
C:init(mgr)C:work()
See Also
- Apply Penalty - Related reference
- Get Crawl Data - Related reference
- Get Crawl Results - Related reference
- FlowGraph Guide - Guide