Verse Library verse

05 Mapping Teams Of Players

Declares an empty map to organize player-specific data by team for tracking and logic.

extracted-snippets/documentation/en-us/fortnite/team-elimination-4-tracking-players-using-maps-in-verse/05-mapping-teams-of-players.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/team-elimination-4-tracking-players-using-maps-in-verse
# Local doc:  epic-docs/documentation/en-us/fortnite/team-elimination-4-tracking-players-using-maps-in-verse.md
# Section:    Mapping Teams of Players
# Map of Team Maps, where the key is the team and the value is a map of
# player->int key-value pairs
var TeamMap : [team]player_map = map{}

Comments

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