API ReferenceGE Extensionsflowgraphnodesvehicle
Move To Showroom
- **Node Name:** `Move To Showroom`
Overview
- Node Name:
Move To Showroom - Category:
repeat_instant - File:
extensions/flowgraph/nodes/vehicle/toShowroom.lua
Resets and moves a vehicle into the showroom area using util_showroom.
Pin Schema
Input Pins
| Pin | Type | Description |
|---|---|---|
vehId | number | ID of the vehicle to move. Falls back to player vehicle. |
Internals
Key Methods
| Method | Description |
|---|---|
init() | No-op. |
work() | Resolves the vehicle and calls util_showroom.moveInside(veh). |
Dependencies
util_showroom- declared inC.dependencies, auto-loaded by the flowgraph system.
How It Works
- Resolves the target vehicle by ID, or falls back to the player vehicle.
- Calls
util_showroom.moveInside(veh)which handles resetting the vehicle and positioning it inside the showroom environment.
Usage Example
-- Flowgraph:
-- [Trigger] → flow → [Move To Showroom]
-- ↑ vehId ← [Vehicle Provider]
-- Equivalent GE Lua:
local veh = getPlayerVehicle(0)
util_showroom.moveInside(veh)Key Dependencies
util_showroom- showroom positioning utilitygetPlayerVehicle(0)- fallback vehicle resolution
See Also
- Align for Coupling (Flowgraph Node) - Related reference
- Apply Velocity to Vehicle (Flowgraph Node) - Related reference
- Boost Vehicle (Flowgraph Node) - Related reference
- FlowGraph Guide - Guide