Fandom

武装突袭 Wiki

Weapons

简体 | 繁體

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

您使用了广告屏蔽软件!


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

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

  

点击图片可看到更多讯息

开始使用于

游戏:
Operation Flashpoint: Resistance
版本:
1.75

描述

描述:
Returns array of names of all Unit's weapons.

基本句法

句法:
Array = weapons vehicleName
参数:
vehicleName: Object
返回值:
Array of weapon names.

范例

范例1:
_wArray = weapons player;

额外资讯

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

magazinesweaponsTurretassignedVehicleRoleLink to game weapons categoryweaponStateArmA:_Weapons

注意事项

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

Notes

Posted on 12:07, 20 January 2007
Bdfy
(A1 1.02) this command returns only weapons defined for the primary turret of the vehicle. for ex. only ["D81", "PKT"] for t72, not ["D81", "PKT","DSHKM"]

Posted on 06:01, 3 March 2007 (CET)
Donnervogel
weapons never returns the weapon "Throw" which all soldier units have have to throw handgrenades. You'd have to use hasWeapon to verfy it. Also handgrenades are not listed since they are magazines. Use magazines for that.

Posted on 11 March 2011
kju
Use weaponsTurret to determine the weapons of a non gunner/turret position.

Posted on 25 November 2011
Dr_Eyeball
This command does not include non-turret weapons, such as smoke, flare or chaff launchers which are usually declared in the root of the vehicle's class, rather than in the Turrets hierarchy. (Unsure whether it excludes it because it is not in the turret or because these are not considered true weapons via some property.)

Posted on 18 June 2013
Druid
Lists also weapons in inventory from Arma 3 ver. 0.70.

Bottom Section

更多维基

随机维基