Simple Class Loadouts Script
# fill this file with your verse-script
#title: simple class loadouts
#description: This device creates classes of specific loadouts, group to specific spawnpads.
#and eliminates the need for using multiple class designers for each loadout.
#created by: papajohns_jriii
#created on: 10/10/2023
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
using { /Verse.org/Simulation/Tags }
using { /Fortnite.com/Characters }
using { /Fortnite.com/Teams }
# See https://dev.epicgames.com/documentation/en-us/uefn/create-your-own-device-in-verse
#for how to create a verse device.
Loadout:= class<concrete>:
@editable
PSD:[]player_spawner_device = array{} #will grant items based on spawnpad(S) entered here.
#setup for an array type if needed.
@editable
Item_Spawner: item_granter_device = item_granter_device{}
PSD_Spawned():void =
for (PS1: PSD):
PS1.SpawnedEvent.Subscribe(LoadAssignment)
LoadAssignment (Agent: agent):void=
Item_Spawner.GrantItem(Agent)
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.