using /Fortnite.com using /UnrealEngine.com # This is the main script for our squad view. # It connects to the game world. script SquadViewScript: # This variable holds our UI widget. # It is a "variable" because it changes (it gets set once). var my_ui: widget = external {} # This function runs when the game starts. # "OnBegin" is an event that fires at the start. OnBegin(): void = # We tell the game to show our UI. my_ui.SetVisibility(true) # We log a message to help us debug. print("Squad view is now visible!")