API ReferenceGE Extensionsflowgraphnodescareer
Add To Inventory (Flowgraph Node)
- **Node Name:** `Add To Inventory`
Overview
- Node Name:
Add To Inventory - Category:
once_instant - File:
extensions/flowgraph/nodes/career/addToInventory.lua
Adds a vehicle to the player's career inventory.
Pin Schema
Input Pins
| Pin | Type | Description |
|---|---|---|
vehId | number | The ID of the vehicle to add |
Output Pins
| Pin | Type | Description |
|---|---|---|
flow | flow | Passes through input flow |
Behavior
workOnce()- IfvehIdis provided, callscareer_modules_inventory.addVehicle(vehId).- Errors if
career_modules_inventoryis not loaded or no vehicle ID is given. - Passes flow through regardless.
- Errors if
Key Dependencies
career_modules_inventory.addVehicle()- adds vehicle to player inventory
See Also
- Career Vehicle Select (Flowgraph Node) - Related reference
- Set Tutorial Step (Flowgraph Node) - Related reference
- Complete Quest (Flowgraph Node) - Related reference
- FlowGraph Guide - Guide