# Source URL: https://dev.epicgames.com/community/snippets/pvO/fortnite-relic-royale-0044-2395-4081
# Local doc: epic-docs/community/snippets/pvO/fortnite-relic-royale-0044-2395-4081.md
using { /Fortnite.com/Devices }
using { /Fortnite.com/Characters }
using { /Fortnite.com/Playspaces }
using { /Verse.org/Simulation }
using { /Verse.org/Random }
using { /UnrealEngine.com/Temporary }
using { /UnrealEngine.com/Temporary/Diagnostics }
spawn_location_randomizer_log:=class(log_channel){}
spawn_location_randomizer_device := class(creative_device):
Logger:log = log{Channel:=spawn_location_randomizer_log}
@editable
IntroSequence:cinematic_sequence_device = cinematic_sequence_device{}
@editable
FirstSpawnTimer:timer_device = timer_device{}
@editable
ASelector:class_and_team_selector_device = class_and_team_selector_device{}
@editable
BTracker:tracker_device = tracker_device{}
@editable
BDescription:hud_message_device = hud_message_device{}
@editable
GameStartAnnouncer:hud_message_device = hud_message_device{}
# ItemReturnedEvent does not currently fire correctly in Verse code,
# so I'm using a Trigger to act as a Proxy for that Event in UEFN
@editable
ItemReturnedTrigger:trigger_device = trigger_device{}
@editable
SpawnedAnnouncer:hud_message_device = hud_message_device{}
Verse Library
verse
01 Snippet
Manages randomized spawn location selection, integrates with timers and HUD announcements for game start sequences.
extracted-snippets/community/snippets/pvO/fortnite-relic-royale-0044-2395-4081/01-snippet.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.