API ReferenceGE ExtensionsflowgraphnodesgameplayvehiclePool
Cycle Pool
**File:** `flowgraph/nodes/gameplay/vehiclePool/cyclePool.lua`
File: flowgraph/nodes/gameplay/vehiclePool/cyclePool.lua
Description: Toggles one active vehicle and one inactive vehicle, so that the scene will have the same amount of vehicles running.
Category: once_instant Tags: traffic, budget, pooling Dependencies: core_vehicleActivePooling
Input Pins
| Name | Type | Description |
|---|---|---|
vehPool | table | Vehicle pool object; use the Create Pool node. |
vehId1 | number | (Optional) Vehicle id of a currently active vehicle. |
vehId2 | number | (Optional) Vehicle id of a currently inactive vehicle. |
Output Pins
| Name | Type | Description |
|---|---|---|
inactiveId | number | Newly inactivate vehicle id. |
activeId | number | Newly activate vehicle id. |
Methods
C:workOnce()
See Also
- Activate All Vehicles - Related reference
- Activate Vehicles By Distance - Related reference
- Activate Vehicle - Related reference
- FlowGraph Guide - Guide