Class For Multiple Weapon Assignments
1116 Views
-
# fill this file with your verse-script #simple class for multiple weapon assignments #uses the spawn pad devices and item granters to route unique weapons to players. 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)
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.