武装突袭 Wiki
Advertisement
  

点击图片可看到更多讯息

开始使用于

游戏:
Arma 2: Operation Arrowhead
版本:
1.51

描述

描述:
Returns current muzzle of unit's weapon.

基本句法

句法:
currentMuzzle gunner
参数:
gunner: Object
返回值:
String - current muzzle

范例

范例1:
_muzzle = currentMuzzle player;
范例2:
_muzzle = currentMuzzle gunner vehicle player;

额外资讯

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

注意事项

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

Notes

Bottom Section

Posted on December 13, 2014 - 22:27 (UTC)
Commy2
The return value is not always STRING. As of Arma 3 v1.36, this command returns 0 (NUMBER) for vehicles.

E.g. when inside a vehicle:
currentMuzzle vehicle player
-> 0
Advertisement