---
name: "teams"
type: command
status: ok
groups: ["Teams"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/teams
revid: 377122
updated: 2026-01-01T10:19:31Z
---

# teams

*Command · Teams · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Return a list of teams in the current mission.

## Syntax

```sqf
teams
```

**Returns:** [Array](../topics/Array.md) of [Team Member](../topics/Team_Member.md)s

## Examples

### Example 1

```sqf
_teams = teams;
```

## See also

[agents](../commands/agents.md) · [addTeamMember](../commands/addTeamMember.md) · [createTeam](../commands/createTeam.md) · [deleteTeam](../commands/deleteTeam.md) · [forEachMemberTeam](../commands/forEachMemberTeam.md) · [removeTeamMember](../commands/removeTeamMember.md) · [teamMember](../commands/teamMember.md) · [teamName](../commands/teamName.md) · [teamType](../commands/teamType.md) · [forEachMember](../commands/forEachMember.md) · [forEachMemberAgent](../commands/forEachMemberAgent.md)

<sub>Source: [BI Community Wiki — teams](https://community.bistudio.com/wiki/teams) (revision 377122).</sub>
