# Source URL: https://dev.epicgames.com/documentation/en-us/uefn/speedway-race-with-verse-persistence-in-unreal-editor-for-fortnite
# Local doc: epic-docs/documentation/en-us/uefn/speedway-race-with-verse-persistence-in-unreal-editor-for-fortnite.md
# Section: Get all players that are able to race.
# This file handles the logic for the pregame lobby and the cinematics that play at the beginning of a race.
# It controls the length of the starting lineup based on the number of players, and plays an intro for each
# player by displaying their stats.
using { /Fortnite.com/Characters }
using { /Fortnite.com/Devices }
using { /Fortnite.com/FortPlayerUtilities }
using { /Verse.org/Native }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
using { PlayerLeaderboard }
# A starting position on the race track.
start_position<public> := class<concrete>:
# The car players drive during the race.
@editable
Car:vehicle_spawner_pickup_truck_device = vehicle_spawner_pickup_truck_device{}
# Prevents players from driving out of their starting positions.
@editable
Barrier:barrier_device = barrier_device{}
# A Verse-authored creative device that can be placed in a level
starting_game_sequence := class(creative_device):
# The amount of time to wait in the pregame lobby.
Verse Library
verse
03 Get All Players That Are Able To Race
Defines a creative device class managing race round setup, lobby timers, and player starts.
extracted-snippets/documentation/en-us/uefn/speedway-race-with-verse-persistence-in-unreal-editor-for-fortnite/03-get-all-players-that-are-able-to-race.verse
Sign in free to read the full source 🌴
This Verse Library file is members-only. Create a free account to view the complete source and download the .verse file.