Warning: file_put_contents(/ff_f71c697347a1fb2258aeec182ff2fc00a7a8b601d295087a.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
assignedTeam - OFPEC Scripting Command Reference | OFPEC The Editing Center

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