Execute_SellStolenVehicle
Description
Sells a stolen vehicle. Gets the vehicle from ScriptContext Target (the vehicle being interacted with). Calculates sell price as vehicle's original price * F1, adds currency to Self, and destroys the vehicle entity. Designed to run AFTER ExitVehicle action (character has already exited).
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Self (the character selling the vehicle). |
| F1 | Sell price ratio (e.g. 0.15 = 15% of original price). |
Examples
| Description | BaseObject | Command | F1 |
|---|---|---|---|
| Sell stolen vehicle at 15% of original price. | Self | SellStolenVehicle | 0.15 |
| Sell stolen vehicle at 10% of original price (repeat). | Self | SellStolenVehicle | 0.1 |