Fandom

武装突袭 Wiki

GroupSelectUnit

简体 | 繁體

4,827个页面创建
于此维基上
添加新页面
评论0 Share

您使用了广告屏蔽软件!


Wikia通过广告运营为用户提供免费的服务。我们对用户通过嵌入广告屏蔽软件访问网站进行了使用调整。

如果您使用了广告屏蔽软件,将无法使用我们的服务。请您移除广告屏蔽软件,以确保页面正常加载。

  

点击图片可看到更多讯息

开始使用于

游戏:
Arma 2
版本:
1.00

描述

描述:
Selects a unit from player's group. If player is the leader, the effect of this command is similar to player pressing F1, F2, F3... buttons to highlight units in his squad, after which the unit command menu is shown. If leader is AI, player will get usual communication menu to interact with the leader.

基本句法

句法:
player groupSelectUnit [unit, select]
参数:
player: Object

[unit, select]: Array

unit: Object

select: Boolean
返回值:
Nothing

范例

范例1:
After leaving menu, deselect all units (command menu is not opened -> no selection){

   player groupSelectUnit [_x, false];

} forEach (groupSelectedUnits player);

范例2:
Select all units when player is the leader:{

   player groupSelectUnit [_x, true];

} forEach units player;

范例3:
Open communication with group leader:player groupSelectUnit [leader player, true];

额外资讯

多人游戏:
-
也可以看看:

groupSelectedUnits

注意事项

此处撰写句法皆为可行用法. 可到官网[1]专页回报错误. 你可以使用讨论页面或是论坛来进行讨论.
新增注意事项 | 如何新增?

Notes

Bottom Section

更多维基

随机维基