# This is a simple script to help you organize your lobby. # In Verse, devices are placed in UEFN and then referenced here. # We bind each placed device to a variable so we can configure it. using { /Fortnite.com/Devices } using { /UnrealEngine.com/Temporary/Diagnostics } using { /Verse.org/Simulation } # This class represents your lobby manager. # Place each device in UEFN, then assign it in the Details panel. lobby_manager := class(creative_device): # Step 1: Bind the billboard device placed in your UEFN scene. # Think of this as a whiteboard for players. @editable Rule_Sign : billboard_device = billboard_device{} # Step 2: Bind a customizable light device placed in your UEFN scene. # This helps players see the rules clearly. @editable Lamp_Light : customizable_light_device = customizable_light_device{} # OnBegin runs automatically when the game starts. OnBegin() : void = # Step 3: Set the billboard text to be short and clear. # Use simple words. Keep it under 10 words if possible. Rule_Sign.SetText(StringToMessage("Hit Targets. Win Points.")) # note: billboard_device.SetText accepts a message value; StringToMessage converts a string literal. # Step 4: Turn the light on so it brightens the area. # Color and intensity are configured in the UEFN Details panel # because Verse does not expose SetColor/SetIntensity on customizable_light_device at runtime. Lamp_Light.TurnOn() # note: To set White color and full brightness, open the customizable_light_device # in UEFN, set Light Color to (R=1, G=1, B=1) and Intensity to 100 in the Details panel.