FANDOM


  Arguments localEffects global

点击图片可看到更多讯息

开始使用于

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

描述

描述:
Adds a magazine to a person with said ammunition count.

Note: When you add a new weapon via scripting commands as well as the magazines for it, the addMagazine command has to be given before the addWeapon command, otherwise the weapon won't be loaded.

Arma 3 logo black In Arma 3 this command accepts global arguments Arguments global, i.e. you can use it on the server to give remote unit a magazine with limited ammo.

基本句法

句法:
unitName addMagazine [magazineName, ammoCount]
参数:
unitName: Object - person to add the magazine to

magazineName: String - magazine name. See the topic Category:Weapons for reference about possible values.

ammoCount: Number - number of bullets in the magazine
返回值:
Nothing

范例

范例1:
player addMagazine ["30Rnd_556x45_STANAG", 15];

额外资讯

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

addMagazineaddMagazineGlobaladdMagazinesaddMagazineCargoaddMagazineCargoGlobaladdMagazinePooladdMagazineTurretremoveMagazineremoveMagazinesaddWeapon

注意事项

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

Notes


Bottom Section

您使用了广告屏蔽软件!


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

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

查看其他FANDOM

随机维基