add_vehicle_xp
Adds experience points to the player's current vehicle.
Entry Information
| Property | Value |
|---|---|
| Entry ID | add_vehicle_xp |
| Type | Action |
| Color | Cyan |
| Icon | fa6-solid:star |
Description
Adds a specified amount of XP to the current vehicle. When enough XP is accumulated, the vehicle will level up, triggering any onLevelUp actions defined in the vehicle definition.
Fields
| Field | Type | Description |
|---|---|---|
amount | Double | Amount of XP to add |
Usage Example
- entry: add_vehicle_xp
name: "Add Vehicle XP"
comment: "Adds 100 XP to the current vehicle"
group: "progression"
amount: 100.0