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 your BrainDead.TV / BrainDeadGuild Discord account for full access.