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

unit hcSetGroup array

Operand types

unit: Object
array: Array

Type of returned value

Description

Add group to unit's high command bar.
Array parameters are group, group name and team (teammain, teamred, teamgreen, teamblue, teamyellow).
Group is the only necessary parameter.

Used In

Arma2

Example

unit hcSetGroup [group,"HQ","teamred"]
player hcSetGroup [group]

Advertisement