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·47 of 70 in Devices

Follower Device

Follower Device

Verse from mandeep/VerseMaxxing (Snippets/follower_device.verse), by mandeep, under the Apache-2.0 license. Pinned at commit 96f7a193e. Compile-checked and ready to adapt for UEFN.

  • using { /Fortnite.com/Devices }
    using { /Verse.org/Simulation }
    using { /Verse.org/Concurrency }
    using { /Verse.org/Simulation/Tags}
    using { /UnrealEngine.com/Temporary/Diagnostics }
    using { /UnrealEngine.com/Temporary/SpatialMath }
    using { /Fortnite.com/Characters }
    using { /Fortnite.com/Playspaces }
    using { /Fortnite.com/Teams }
    using { CancelableTask }
    
    
    follower_device := class(creative_device):
    
        @editable
        DamageProp: creative_prop = creative_prop{}
    
        @editable
        DamageVolume: damage_volume_device = damage_volume_device{}
    
        # using a class variable here as the cancelable task doesn't allow arguments
        var Follower: ?fort_character = false
    
        var FollowerTask: ?cancelable_task = false
    
        AttachPropToSeeker(Agent: agent):void=
            if (Character := Agent.GetFortCharacter[]):
                DamageVolume.Enable()
                set Follower = option{Character}
                Task := CancelableSpawn(FollowCharacter)
                set FollowerTask = option{Task}

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 · 47 of 70
Prev
mandeep versemaxxing crown device
Next
mandeep versemaxxing freeze device

Source

Epic Games documentation

mandeep

Apache-2.0

View original
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