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·75 of 114 in Verse Language

Spinning Wheel Verse Device

Spinning Wheel

Verse from ColtonKeeley/ProjectOST-Deprecated (TycoonStomperUnstableV0_4_0/Runtimeinstantiables/lottery_wheel.verse), by ColtonKeeley, under the MIT license. Pinned at commit c2ca04004. Compile-checked and ready to adapt for UEFN.

  • using { /Fortnite.com/Devices }
    using { /Verse.org/Simulation }
    using { /Verse.org/Random }
    using { /UnrealEngine.com/Temporary/Diagnostics }
    using { /UnrealEngine.com/Temporary/SpatialMath }
    using { /Fortnite.com/Characters }
    using {cc}
    
    SpinningWheel := class(creative_device):
        #Editables
        @editable Wheel : creative_prop = creative_prop{}
        @editable Button : button_device = button_device{}
        @editable LootGranters : []item_granter_device = array{}
        OnSpin : event(int) = event(int){}
        #Varubles
        var Rotates : logic = false
        var Degrees :[]float = array{0.0, 30.0, 60.0, 90.0, 120.0, 150.0, -180.0, -150.0, -120.0, -90.0, -60.0, -30.0}
        var RandInt : int = 0
        var RotatingDegrees : float = 30.0
        var Speed : float = 0.2
        var Delay : int = 15
    
        OnBegin<override>()<suspends>:void=
            Button.InteractedWithEvent.Subscribe(OnButtonClicked)

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 Verse Language · 75 of 114
Prev
santas toy factory utility module
Next
mandeep versemaxxing cancelabletask

Source

Epic Games documentation

ColtonKeeley

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