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 functions, but no data members.
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. |