using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
# A Verse device that holds a reference to a billboard_device
# placed in the editor, then updates its text at game start.
chaos_lobby_manager := class(creative_device):
# Wire this to your Billboard device in the UEFN Details panel.
@editable
MyBillboard : billboard_device = billboard_device{}
# OnBegin fires when the game session starts.
OnBegin<override>()<suspends> : void =
# billboard_device exposes SetText() to update the displayed string.
# The string must be 150 characters or fewer to match the device limit.
MyBillboard.SetText(WelcomeMessage())
# note: billboard_device does not expose a rich TextStyle struct at
# runtime; font, color, and outline are configured in the editor
# Details panel, not through Verse API calls.
WelcomeMessage<localizes>() : message = "Welcome to the Chaos Zone!"
Verse Library
verse
01 Device
Updates a billboard device text when the game starts to display a welcome message to players.
verse-library/using-billboard-devices-in-fortnite-creative/01-device.verse