Overview
The Vehicle Service Station is a Device in Fortnite: Creative
All Settings
All Settings[]
All default values have been Bolded.
| Option | Value | Description |
|---|---|---|
| Seconds Per Restore Tick | 0.48s, 0.1s - 5s | The amount of seconds that pass between each repair and refuel tick. |
| Heal Percentage Per Restore Tick | 5.0%, 0.0% - 100% | The percentage of health restored per tick. |
| Fuel Refill Percentage Per Restore Tick | 5.0%, 0.0% - 100% | The percentage of fuel restored per tick. |
| Enabled During Phase | None, Always, Pre-Game Only, Gameplay Only, Create Only | Determines the game phases during which the service station will be enabled. |
| Damageable | Yes, No | Toggle whether this device can be damaged and destroyed. |
| Max Health | 200.0, 100.0 - Max Float Point Value | Maximum health of this service station. |
| Display Fuel Pump | Show, Hide | Determines if the fuel pump should be visible. |
| Display Repair Pad | Show, Hide | Determines if the repair pad should be visible. |
| Allowed Team | Any, Team 1 - Team 100 | Determines which team is able to use this Vehicle Service Station. |
| Allowed Class | Any, No Class, Class 1 - Class 254 | Determines which class is able to use this Vehicle Service Station. |
| Invert Team Selection | True, False | If set, the device will allow all but the Allowed Team. |
| Invert Class Selection | True, False | If set, the device will allow all but the Allowed Class. |
Functions and Events
Functions and Events[]
| Option | Description |
|---|---|
| Enable When Receiving From | When Enabled, all refuel and repair features will be active. |
| Disable When Receiving From | When Disabled, all refuel and repair features will be inactive. |
| Check Vehicle Inside When Receiving From | Checks if any vehicle is inside the station. |
| Option | Description |
|---|---|
| On Vehicle Entered Send Event To | Fires when a vehicle enters the station. |
| On Vehicle Left Send Event To | Fires when a vehicle leaves the station. |
| On Vehicle Started Fueling Send Event To | Fires on the first tick of fueling a vehicle. |
| On Vehicle Started Repairing Send Event To | Fires on the first tick of repairing a vehicle. |
| On Vehicle Stopped Fueling Send Event To | Fires when the vehicle is at full fuel. |
| On Vehicle Stopped Repairing Send Event To | Fires when the vehicle is at full health. |
| On Damage Send Event To | Fires when the service station is damaged. |
| On Destroyed Send Event To | Fires when the service station is destroyed. |
| On Vehicle Is Inside Send Event To | Sent event if any vehicle is inside the device when "Check Vehicle Inside" function is triggered. |
| On Vehicle Is Not Inside Send Event To | Sent event if no is inside the device when "Check Vehicle Inside" function is triggered. |
| On Vehicle Entered at Full Health Send Event To | Fires if a vehicle entered already at full health. |
| On Vehicle at Full Fuel Send Event To | Fires if a vehicle entered already at full fuel. |
| On Vehicle Left Under Full Health Send Event To | Fires if a vehicle left under full health. |
| On Vehicle Left Under Full Fuel Send Event To | Fires if a vehicle left under full fuel. |
| On Vehicle Left Without Being Healed Send Event To | Fires if a vehicle that could have been healed left without being healed once. |
| On Vehicle Left Without Being Fueled Send Event To | Fires if a vehicle that could have been refueled left without being refueled once. |
This device can be found in Content Browser in the following path: /All/Fortnite/Devices/Vehicle/Gameplay
service_station_device class
service_station_device class[]
using { /Fortnite.com/Devices }
| Inheriting | Description |
|---|---|
creative_object
|
Base class for creative devices and props. |
creative_device_base
|
Base class for creative_device.
|
| Name | Description |
|---|---|
healthful
|
Implemented by Fortnite objects that have health state and can be eliminated. |
damageable
|
Implemented by Fortnite objects that can be damaged. |
enableable
|
Implemented by classes whose instances can be enabled and disabled. |
| Event Function | Type |
|---|---|
DamagedEvent
|
listenable(damage_result)
|
VehicleEnteredEvent
|
listenable(fort_vehicle)
|
VehicleExitedEvent
|
listenable(fort_vehicle)
|
VehicleFuelingBeginEvent
|
listenable(fort_vehicle)
|
VehicleFuelingEndEvent
|
listenable(fort_vehicle)
|
VehicleRepairBeginEvent
|
listenable(fort_vehicle)
|
VehicleRepairEndEvent
|
listenable(fort_vehicle)
|
| Function | Parameters | Description |
|---|---|---|
GetHealth
|
Returns the health state of the object. This value will between 0.0 and GetMaxHealth
| |
SetHealth
|
Health:float
|
Sets the health state of the object to Health. Health state will be clamped between 1.0 and GetMaxHealth. Health state cannot be directly set to 0.0. To eliminate healthful objects use the damageable.Damage functions instead.
|
GetMaxHealth
|
Returns the maximum health of the object. This value will be between 1.0 and Inf.
| |
SetMaxHealth
|
Health:float
|
Sets the maximum health state of the object. MaxHealth will be clamped between 1.0 and Inf. Current health state will be scaled up or down based on the scale difference between the old and new MaxHealth state.
|
Damage
|
Amount:float
|
Damage the damageable object anonymously by Amount. Setting Amount to less than 0 will cause no damage. Use Damage(:damage_args) when damage is being applied from a known instigator and source.
|
Damage
|
Args:damage_args
|
Damage the damageable object by Args.Amount. Setting Amount to less than 0 will cause no damage.
|
Enable
|
Enables this device. | |
Disable
|
Disables this device. | |
IsEnabled
|
Succeeds if the object is enabled, fails if it's disabled. | |
IsAnyVehicleInside
|
Check if any vehicle is inside the service station. |