API ReferenceGE Extensionsflowgraphnodesgameplayrace
Move Veh to Start Position
**File:** `flowgraph/nodes/gameplay/race/moveVehicleToStartposition.lua`
File: flowgraph/nodes/gameplay/race/moveVehicleToStartposition.lua
Description: Moves a vehicle to a starting position of a path.
Category: repeat_instant Tags: scenario, race
Input Pins
| Name | Type | Description |
|---|---|---|
vehId | number | Id of vehicle to move. |
name | string | Name of the start position to get; no value will use default. |
lowPrecision | bool | Use Low Prio if you want to move the vehicle in the first frame of it being spawned. |
pathData | table | Data from the path for other nodes to process. |
id | number | If id is given, will use that starting position instead. |
reverse | bool | Use the default reverse position instead. |
rolling | bool | Use the default rolling position instead. |
repair | bool | If enabled, vehicle will be repaired. otherwise it will only be moved. |
Output Pins
| Name | Type | Description |
|---|---|---|
pos | vec3 | Position. |
rot | quat | Rotation. |
exists | bool | True if the start position exists. |
Methods
C:init(mgr, ...)C:_executionStarted()C:work(args)
See Also
- File Path - Related reference
- File Race - Related reference
- im Race Times - Related reference
- FlowGraph Guide - Guide