VerseIsland
FeedLearnLeaderboardGuidesReferenceExploreSearchDocsVerse Library
Sign in
Feed Learn 📖 Codex Leaderboard Guides Reference Explore Search Docs Verse Library
Browse Community Snippets›Devices·Up to Community Snippets · Devices·62 of 70 in Devices

Auto-Reload Device

173,129 Views

Report

  • 
    using { /Fortnite.com/Devices }
    using { /Verse.org/Simulation }
    using { /UnrealEngine.com/Temporary/Diagnostics }
    
    auto_reload_device := class(creative_device):
    
        @editable
        EliminationManager:elimination_manager_device = elimination_manager_device{}
    
        @editable
        WeaponsToReload:weapons_to_reload = weapons_to_reload.All
    
        @editable
        Weapons:[]auto_reload_weapon = array{}
    
        OnBegin<override>()<suspends>:void=
            Sleep(0.0)
            DeviceSetup()
    
        DeviceSetup():void=
            EliminationManager.EliminationEvent.Subscribe(CheckWeapons)
            for (Weapon : Weapons):
                Weapon.Init(Self)
    
        CheckWeapons(MaybeAgent:?agent):void=
            for (Weapon : Weapons, Agent := MaybeAgent?):
                Weapon.CheckForWeapon(Agent)
    
    auto_reload_weapon := class<concrete>:
    
        @editable
        ConditionalButton:conditional_button_device = conditional_button_device{}

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 Discord — free for members Read the original at Epic Games documentation

Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.

Guided course

Add this to your free study plan — we’ll suggest related material and stitch it into one compile-checked lesson.

Keep exploring
More in Devices · 62 of 70
Prev
fortnite tagged device example
Next
fortnite custom fiend device beginner friendly

Source

Epic Games documentation

View original

Last updated 2026-07-26T12:46:07.975496+00:00

VerseIsland· an archipelago of Verse & UEFN knowledge
🗺️ Island atlasLearnGuidesHistoryAbout & PressSources & LicensingPrivacy PolicyTermsStatus

Not affiliated with Epic Games. Fortnite, UEFN, Unreal Engine, and Verse are trademarks of Epic Games, Inc. Content is attributed to its source — see Sources & Licensing.

🦜

Scout · your island guide

The Isle of Verse