RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Flowgraph Base ModuleFlowgraph Base NodeFlowgraph Base State NodeFlowgraph Node BuilderFlowgraph GraphFlowgraph Group HelperFlowgraph LinkFlowgraph ManagerNew Node TemplateFlowgraph PinFlowgraph States ManagerFlowgraph UtilsFlowgraph Variable Storage
ARunForLife (Flowgraph Node)Clear Lights Drag Race (Flowgraph Node)Countdown Lights Controller (Flowgraph Node)Get Custom Vehicle Data (Flowgraph Node)Get Mission Setup Data (Flowgraph Node)Check Players Position / Go To Start Line (Flowgraph Node)KnockAway Check (Flowgraph Node)Lights Controller (Flowgraph Node)Mission Post Clean (Flowgraph Node)Mission Cleanup / Pre Clean (Flowgraph Node)Prepare Vehicle (Flowgraph Node)Remove Stashed Player Vehicle (Flowgraph Node)Select Garage Vehicle (Flowgraph Node)Select Garage Sites / Zones (Flowgraph Node)Select Garage Spots (Flowgraph Node)Select Heist Spots (Flowgraph Node)Set Stage Lights (Flowgraph Node)Update Display Drag Race (Flowgraph Node)

UI

Resources

BeamNG Game Engine Lua Cheat SheetGE Developer RecipesMCP Server Setup

// RLS.STUDIOS=true

Premium Mods for BeamNG.drive. Career systems, custom vehicles, and immersive gameplay experiences.

Index

HomeProjectsPatreon

Socials

DiscordPatreon (RLS)Patreon (Vehicles)

© 2026 RLS Studios. All rights reserved.

Modding since 2024

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

  1. During mission setup, preClean stashes the player's original vehicle.
  2. This node permanently removes that stashed vehicle from the scene, so it won't be restored when the mission ends.
  3. Typically used in conjunction with postClean when keepVeh is 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

Prepare Vehicle (Flowgraph Node)

- **Node Name:** `Prepare Vehicle`

Select Garage Vehicle (Flowgraph Node)

- **Node Name:** `Select Garage Vehicle`

On this page

OverviewPin SchemaInput PinsOutput PinsInternalsHow It WorksLua Code ExampleKey DependenciesAdditional MethodsC:workOnce()See Also