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

vehicleName assignTeam team

Operand types

vehicleName: Object
team: String

Type of returned value

Description

Assigns the vehicle (specifically its commander unit) to the given team.
The possible team values are:

"MAIN"
"RED"
"GREEN"
"BLUE"
"YELLOW"

Used In

ArmA

Example

soldier2 assignTeam "YELLOW"

Advertisement