FANDOM


Introduced with Operation Flashpoint version 1.00
  Arguments of this scripting command don't have to be local to the client the command is executed on

点击图片可看到更多讯息

开始使用于

游戏:
Operation Flashpoint
版本:
1.00

描述

描述:
Check how many rounds are left in the currently loaded magazine in the given muzzle. Since Arma v1.55.133505 the command also returns ammo for units in vehicles.

基本句法

句法:
unit ammo muzzle
参数:
unit: Object

muzzle: String - muzzle of a weapon. See the topic Category:Weapons for reference about possible values.
返回值:
Number

范例

范例1:
_count = player ammo "M16"; //returns 30 in case of a full magazine

范例2:
_count = player ammo "M203Muzzle";

范例3:
_count = player ammo primaryWeapon player;

额外资讯

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

setAmmosomeAmmomagazines

注意事项

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

Notes

Posted on February 17, 2012
kju
OA 1.60: The command works (now?) also for units in vehicles. However only for the vehicle's gunners' weapons - aka those returned by "weapons vehicle".

Bottom Section

您使用了广告屏蔽软件!


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

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

查看其他FANDOM

随机维基