# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/triad-infiltration-02-finding-players-at-runtime-in-verse
# Local doc: epic-docs/documentation/en-us/fortnite/triad-infiltration-02-finding-players-at-runtime-in-verse.md
# Section: Finding Players and Teams at Runtime
triad_infiltration_game := class(creative_device):
Logger:log = log{Channel := triad_infiltration_log_channel}
# To avoid players not being able to join a team, you should set the maximum number
# of players in the island settings to the sum of all of the Maximum(Team) variables.
# Maximum number of players on the Infiltrators Team.
@editable
MaximumInfiltrators:int = 2
# Maxmimum number of players on the Attackers Team.
@editable
MaximumAttackers:int = 4
# Maximum number of players on the Defenders Team.
@editable
MaximumDefenders:int = 4
# Array of Teleporters that teleport players to their team's spawn once the game starts.
@editable
Teleporters:[]teleporter_device = array{}
# Array of weapon granters for each team.
@editable
var WeaponGranters:[]item_granter_device = array{}
# Array of player spawners for each team.
@editable
PlayersSpawners:[]player_spawner_device = array{}
# Reference to the infiltrators team.
var MaybeInfiltrators:?team = false
# Reference to the attackers team.
var MaybeAttackers:?team = false
# Rerfernece to the defenders team.
Verse Library
verse
02 Finding Players And Teams At Runtime
Retrieves and caches runtime team references and player limits for game setup.
extracted-snippets/documentation/en-us/fortnite/triad-infiltration-02-finding-players-at-runtime-in-verse/02-finding-players-and-teams-at-runtime.verse
Sign in free to read the full source 🌴
This Verse Library file is members-only. Create a free account to view the complete source and download the .verse file.