Fandom

武装突袭 Wiki

SetWeaponReloadingTime

简体 | 繁體

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

您使用了广告屏蔽软件!


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

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

  

点击图片可看到更多讯息

开始使用于

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

描述

描述:
Sets states and/or makes an action of/on weapon. Reload time is between 0 and 1 inclusive, where 1 is 100% of maximum reloading time.

基本句法

句法:
vehicle setWeaponReloadingTime [gunner, muzzleName, reloadTime]
参数:
vehicle: Object

[gunner, muzzleName, reloadTime]: Array

gunner: Object - alive and able gunner operating desired turret

muzzleName: String - muzzle on desired turret

reloadTime: Number
返回值:
Boolean - true if given weapon is found

范例

范例1:
_done = _vehicle setWeaponReloadingTime [gunner (vehicle player), currentMuzzle (gunner (vehicle player)), 0.5];

额外资讯

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

weaponsmagazinesselectWeaponloadMagazineweaponState

注意事项

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

Notes

Posted on January 15, 2012
kju
The description is confusing to me. What the command essential does is to set the reloading state/time of the given weapon. For example you can fire a missile, and make the weapon available to fire again instantly if you apply 0. Or you can delay or stop the reload event indefinitely. The 0-1 range is a percentage - the reload time is taken from the weapons's config value (either reloadTime or magazineReloadTime - not sure). The effect is one time only each - it does not modify the weapon's general reload time.

Works also for infantry weapons - probably useful weapons with longer reload time like sniper weapons or launchers:

player setWeaponReloadingTime [player,currentWeapon player,0];



No idea what's point of the return value.

Bottom Section

更多维基

随机维基