Verse API reference page for the TryApplyModByVehicle function
Apply the mod at Index in the device's list to Vehicle.
- The first index in the list is
0for Custom List Mod 1. - Triggers
ModAppliedEvent,ModApplyFailEvent, andNoModEventas appropriate, regardless ofSetOverrideModApplyEvent. - Fails if this device is disabled, Possible Mods is not set to
Custom List, orIndexorVehicleis invalid. Vehiclemust be an actualfort_vehicle. A vehicle spawner device will not be valid.ModApplyOverriddenEvent,ModAppliedEvent,ModApplyFailEvent, andNoModEventare a few ways to get afort_vehiclevalue.
Verse using statement |
using { /Fortnite.com/Devices } |
TryApplyModByVehicle<public>(Index:int, Vehicle:fort_vehicle)<transacts><decides>:void
Parameters
TryApplyModByVehicle takes the following parameters:
| Name | Type | Description |
|---|---|---|
Index |
int |
|
Vehicle |
fort_vehicle |
Attributes, Specifiers, and Effects
Specifiers
The following specifiers determine how you can interact with TryApplyModByVehicle in your programs. For the complete list of specifiers, see the Specifiers Page.
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.