Verse Library verse

03 Balancing Teams At Start Of Game

Initializes device by fetching all active teams and player lists at runtime start.

extracted-snippets/documentation/en-us/fortnite/team-multiplayer-balancing-in-verse/03-balancing-teams-at-start-of-game.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/team-multiplayer-balancing-in-verse
# Local doc:  epic-docs/documentation/en-us/fortnite/team-multiplayer-balancing-in-verse.md
# Section:    Balancing Teams at Start of Game
OnBegin<override>()<suspends>:void=
Print("Verse Device Started!")
set Teams = Self.GetPlayspace().GetTeamCollection().GetTeams()
AllPlayers := GetPlayspace().GetPlayers()

Comments

    Sign in to vote, comment, or suggest an edit. Sign in