# This is our Verse script. # It lives on a device in your island. using { /Fortnite.com/Devices } # Step 1: Create a Class # A class is like a blueprint for a new device. # It holds all our settings and code. RoundController := class(creative_device): # Step 2: Define Variables # A variable is a box that holds data. # Here, we hold the Timer Device. @editable RoundTimer : timer_device = timer_device{} # Step 3: The Start Function # This runs when the game begins. OnBegin() : void = # Start the timer counting down. RoundTimer.Start() # Wait here until the timer is done. # The game pauses here for the countdown. RoundTimer.SuccessEvent.Await() # Step 4: Do something when time is up! # Send a signal to open the barriers. # This is the "Go!" signal. # note: Pulse() fires the on-success pulse channel that # barrier devices can listen to via their Receive Signal # settings wired in the UEFN editor. RoundTimer.SuccessEvent.Signal()