Fort Team Collection Interface
Collection used to manage teams and agents on those teams.
Use fort_playspace.GetTeamCollection() to get the team_collection for the active experience.
Verse using statement |
using { /Fortnite.com/Teams } |
Members
This interface has functions, but no data members.
Functions
| Function Name | Description |
|---|---|
GetTeams |
Returns an array of all the teams known to this fort_team_collection |
AddToTeam |
Adds InAgent to InTeam. Fails if InTeam is not part of the fort_team_collection. |
IsOnTeam |
Succeeds if InAgent is on InTeam. Fails if: * InAgent is not on InTeam. * InTeam is not part of the fort_team_collection. |
GetAgents |
Returns an array of all agents on InTeam. Fails if InTeam is not part of the fort_team_collection. |
GetTeam |
Get the team that InAgent is on. Fails if InAgent is not on a team in this fort_team_collection. |
GetTeamAttitude |
Returns the team_attitude between Team1 and Team2. Fails if: * Team1 is not in this fort_team_collection. * Team2 is not in this fort_team_collection. |
GetTeamAttitude |
Returns the team_attitude between Agent1 and Agent2. Fails if: * Agent1 is not on a team in this fort_team_collection. * Agent2 is not on a team in this fort_team_collection. |