vehicleName setWeaponReloadingTime [gunner, weaponName, reloadTime]

Operand types

vehicleName: Object
[gunner, weaponName, reloadTime]: Array

Type of returned value

Description

Sets the reload time of the given weapon of the given unit/vehicle.

Reload time is a float between 0 and 1, where 1 is 100% of maximum reloading time for the weapon or magazine set in the config.

Syntax:
gunner: Object
weaponName: String
reloadTime: Number

Used In

Arma2OA

Example

_done = _vehicle setWeaponReloadingTime [gunner (vehicle player), currentMuzzle (gunner (vehicle player)), 0.5];

loon1 setWeaponReloadingTime [loon1,currentWeapon loon1,0];
Search OFPEC COMREF