Vehicle Mod Box Spawner Device
Used to spawn customizable boxes containing vehicle mods. Hit a box with a vehicle to apply the mod.
Verse using statement |
using { /Fortnite.com/Devices } |
Inheritance Hierarchy
This class is derived from the following hierarchy, starting with creative_object:
| Name | Description |
|---|---|
creative_object |
Base class for creative devices and props. |
creative_device_base |
Base class for creative_device. |
Exposed Interfaces
This class exposes the following interfaces:
| Name | Description |
|---|---|
enableable |
Implemented by classes whose instances can be enabled and disabled. |
Members
This class has both data members and functions.
Data
| Data Member Name | Type | Description |
|---|---|---|
BoxDestroyedEvent |
listenable(payload) |
Triggers whenever the mod box is destroyed regardless of whether a mod was applied. Returns tuple: * 0: The agent that triggered this event, if applicable. * 1: The index int of the chosen mod in the device's list, starting with 0 for Custom List Mod 1. If Possible Mods is not set to Custom List, int will be -1. |
BoxSpawnedEvent |
listenable(payload) |
Triggers whenever the mod box spawns. * Returns the index int of the chosen mod in the device's list, starting with 0 for Custom List Mod 1. If Possible Mods is not set to Custom List, int will be -1. |
ModAppliedEvent |
listenable(payload) |
Triggers whenever the mod is applied to a vehicle. Returns tuple: * 0: The agent driving the vehicle, if applicable. * 1: The fort_vehicle the mod applied to. * 2: The index int of the chosen mod in the device's list, starting with 0 for Custom List Mod 1. If Possible Mods is not set to Custom List, int will be -1. |
ModApplyFailedEvent |
listenable(payload) |
Triggers whenever the mod fails to apply to a vehicle. Returns tuple: * 0: The agent driving the vehicle, if applicable. * 1: The fort_vehicle the mod failed to apply to. * 2: The index int of the chosen mod in the device's list, starting with 0 for Custom List Mod 1. If Possible Mods is not set to Custom List, int will be -1. |
ModApplyOverriddenEvent |
listenable(payload) |
If ModAppliedEvent is overridden (see SetOverrideModApplyEvent), breaking a mod box triggers this instead of ModAppliedEvent, ModApplyFailEvent, or NoModEvent. Returns tuple: * 0: The agent driving the vehicle, if applicable. * 1: The fort_vehicle the mod would attempt to apply to. * 2: The index int of the chosen mod in the device's list, starting with 0 for Custom List Mod 1. If Possible Mods is not set to Custom List, int will be -1. |
ModBoxCustomListSettings |
?[]vehicle_mod_box_settings |
An array containing the custom settings for each entry in the device's custom list. * Index 0 applies to Custom List Mod 1, index 1 applies to Custom List Mod 2, and so on. * The contents of each entry in the array can be individually set and returned. * If Possible Mods is not set to Custom List, this array will be empty. |
ModBoxOverallSettings |
?vehicle_mod_box_settings |
Contains the custom settings for Overall Visual Style, which can be individually set and returned. |
NoModEvent |
listenable(payload) |
Triggers whenever a No Mod entry from a custom list tries to apply to a vehicle. Returns tuple: * 0: The agent driving the vehicle, if applicable. * 1: The fort_vehicle that broke the box. * 2: The index int of the specific No Mod entry in the device's list, starting with 0 for Custom List Mod 1. |
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.