Warning: file_put_contents(/ff_deb19c8ead67809982c02fe7ab8a8f931418a5e0c3bd961f.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