Main API implemented by Fortnite vehicles.
Verse using statement |
using { /Fortnite.com/Vehicles } |
Exposed Interfaces
This interface exposes the following interfaces:
| Name | Description |
|---|---|
positional |
Implemented by objects to allow reading position information. |
healthful |
Implemented by Fortnite objects that have health state and can be eliminated. |
damageable |
Implemented by Fortnite objects that can be damaged. |
game_action_causer |
Implemented by Fortnite objects that can be passed through game action events, such as damage and heal. For example: player, vehicle, or weapon. Event Listeners often use |
Members
This interface has both data members and functions.
Data
| Data Member Name | Type | Description |
|---|---|---|
Speed |
?float |
The current speed of the vehicle in km/hr. |
BoostRemaining |
??float |
The boost state of the vehicle. If the vehicle uses boost, this value will be between 0.0 and |
BoostCapacity |
??float |
The maximum boost capacity of the vehicle. If the vehicle uses boost, this value will be between 1.0 and Inf. Otherwise, this value will be false. |
Functions
| Function Name | Description |
|---|---|
IsOnGround |
Succeeds if this |
IsInAir |
Succeeds if this |
IsInWater |
Succeeds if this |
GetPassengers |
Returns an array with all the passengers of the vehicle. |
GetFuelRemaining |
Returns the fuel state of the vehicle. If the vehicle uses fuel, this value will be between 0.0 and |
GetFuelCapacity |
Returns the maximum fuel capacity of the vehicle. If the vehicle uses fuel, this value will be between 1.0 and Inf. Otherwise, this value will be -1.0. |
TeleportTo |
Teleports the |