API ReferenceGE Extensionsflowgraphnodesmission
Remove Stashed Player Vehicle (Flowgraph Node)
- **Node Name:** `Remove Stashed Player Vehicle`
Overview
- Node Name:
Remove Stashed Player Vehicle - Category:
once_p_duration - File:
extensions/flowgraph/nodes/mission/removeStashedPlayerVehicle.lua - Color: Mission blue (
0.13, 0.3, 0.64, 0.75)
Removes the player's original vehicle that was stashed during mission pre-cleanup. Used when the mission intends to permanently replace the player's vehicle (e.g., giving them a new one).
Pin Schema
Input Pins
None.
Output Pins
None.
Internals
- Calls
self.mgr.modules.mission:removeStashedPlayerVehicle().
How It Works
- During mission setup,
preCleanstashes the player's original vehicle. - This node permanently removes that stashed vehicle from the scene, so it won't be restored when the mission ends.
- Typically used in conjunction with
postCleanwhenkeepVehis true and you want to discard the original vehicle entirely.
Lua Code Example
-- In a vehicle-swap mission:
-- preClean → spawnMissionVehicle → removeStashedPlayerVehicle
-- The player keeps the mission vehicle; original is gone.Key Dependencies
self.mgr.modules.mission-removeStashedPlayerVehicle()method
Additional Methods
C:workOnce()
Called once when the node is triggered (flow-once execution).
See Also
- ARunForLife (Flowgraph Node) - Related reference
- Update Display Drag Race (Flowgraph Node) - Related reference
- Clear Lights Drag Race (Flowgraph Node) - Related reference
- FlowGraph Guide - Guide