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

Custom Speed

Custom Speed

Verse from uefncentral/uefn-verse-examples (examples/abilities-powers/boost.verse), by uefncentral, under the MIT license. Pinned at commit 9f0e7afbc. Compile-checked and ready to adapt for UEFN.

  • # Button Speed Modifier
    # This code creates a system where players can activate a conditional button to modify their movement speed. When a player presses the button, it triggers a movement modulator device that changes the pl
    # Difficulty: intermediate  |  UEFN: Verse 1
    # ✅ Verified against Epic's official Verse digest by UEFN Central.
    # Full guide + one-click generate: https://uefncentral.com/library/boost?ref=github
    
    using { /Fortnite.com/Devices }
    using { /Verse.org/Simulation }
    using { /UnrealEngine.com/Temporary/Diagnostics } 
    
    CustomSpeed:= class(creative_device):
    
        @editable
        CB:conditional_button_device = conditional_button_device{}
        @editable
        MovementModifier:movement_modulator_device = movement_modulator_device{}
    
        OnBegin<override>()<suspends>:void=
            CB.ActivatedEvent.Subscribe(ChangeMovement) 
    
        ChangeMovement(Agent : agent):void=
            MovementModifier.Activate(Agent)
    
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 Verse Language · 83 of 114
Prev
uefncentral uefn verse examples basic functions
Next
uefncentral uefn verse examples snippets utilities helpers

Source

Epic Games documentation

uefncentral

MIT

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