assignedTeam unit

Operand types

unit: Object

Type of returned value

Description

Returns the team the unit belongs to.

Possible values:
- "MAIN"
- "GREEN"
- "BLUE"
- "YELLOW"

Used In

Arma2OA

Example

_teamThis = assignedTeam _this;

if (assignedTeam loon1 == "BLUE") then {loon1 sideChat "I'm blue."};

Advertisement