# This runs when the game starts OnBeginPlay():void= # Get the list of all players currently in the game AllPlayers := GetPlayers() # Run our setup function with that list SetupStartingPositions(AllPlayers)