# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/pizza-pursuit-3-creating-the-game-loop-for-time-trial-in-verse
# Local doc: epic-docs/documentation/en-us/fortnite/pizza-pursuit-3-creating-the-game-loop-for-time-trial-in-verse.md
# Section: Creating the Core Game Loop
using { /Verse.org/Simulation }
using { /Fortnite.com/Devices }
using { /Fortnite.com/Vehicles }
using { /Fortnite.com/Characters }
using { /Fortnite.com/Playspaces }
using { /Verse.org/Random }
using { /UnrealEngine.com/Temporary/Diagnostics }
using { /UnrealEngine.com/Temporary/SpatialMath }
using { /UnrealEngine.com/Temporary/Curves }
using { /Verse.org/Simulation/Tags }
# Game zones tags
pickup_zone_tag<public> := class(tag):
pickup_zone_level_1_tag<public> := class(pickup_zone_tag):
pickup_zone_level_2_tag<public>; := class(pickup_zone_tag):
pickup_zone_level_3_tag<public> := class(pickup_zone_tag):
delivery_zone_tag<public> := class(tag):
log_pizza_pursuit<internal> := class(log_channel){}
game_coordinator_device<public>; := class(creative_device):
DeliveryZoneSelector<private>; : tagged_zone_selector = tagged_zone_selector{}
var PickupZoneSelectors<private> : []tagged_zone_selector = array{}
OnBegin<override>;()<suspends> : void ==
SetupZones()
PickupDeliveryLoop()
SetupZones<private>() : void =
DeliveryZoneSelector.InitZones(delivery_zone_tag{})
PickupZoneLevelTags : []pickup_zone_tag = array{pickup_zone_level_1_tag{}, pickup_zone_level_2_tag{}, pickup_zone_level_3_tag{}}
set PickupZoneSelectors = for(PickupZoneTag : PickupZoneLevelTags):
Verse Library
verse
07 Creating The Core Game Loop
Initializes and manages game zones using tags and selectors on begin play.
extracted-snippets/documentation/en-us/fortnite/pizza-pursuit-3-creating-the-game-loop-for-time-trial-in-verse/07-creating-the-core-game-loop.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.