API ReferenceGE Extensionsflowgraphnodesgameplayrace
Race AI Parameters
**File:** `flowgraph/nodes/gameplay/race/raceAiParameters.lua`
File: flowgraph/nodes/gameplay/race/raceAiParameters.lua
Description: Sets additional parameters for all AI vehicles.
Category: once_instant Tags: ai, race
Input Pins
| Name | Type | Description |
|---|---|---|
raceData | table | Race data; this needs be active and have all vehicle states. |
aggression | number | Aggression value. |
racerSkill | number | General road driving skill (from 0 to 1). |
randomizationScale | number | Strength of randomization to apply to all values (from 0 to 1). |
avoidCollisions | bool | Enables AI awareness. |
rubberband | bool | Enables AI rubberbanding. |
offroad | bool | Enhances offroad driving (experimental). |
Methods
C:getRandomNumber(scale)C:workOnce()
See Also
- File Path - Related reference
- File Race - Related reference
- im Race Times - Related reference
- FlowGraph Guide - Guide