Please implement new script commands to overwrite the# CfgWeapons >> weapon >> **magazineReloadTime**
# CfgWeapons >> weapon >> **magazineR**reloadTime**
# CfgWeapons >> weapon >> **reloadTime**Please implement new script commands to overwrite this config values
Example- object setMagazineReloadTime [gunner, muzzleName, magazineReloadTime]
- (- objectParent player) setMagazineReloadTime 4; setWeaponReloadTime [gunner, muzzleName, //4 sec for reloading weapon's magazineTime]
- (objectParent player) setWeaponReloadTime 2;do not confuse with the [[ https://community.bistudio.com/wiki/setWeaponReloadingTime | setWeaponReloadingTime ]] command which sets the reloading phase, //2 sec between each shotthis is a request to change the reload time value of the weapon config
Well parameters maybe needs to be as https://community.bistudio.com/wiki/setWeaponReloadingTime for each requested commands Examples
- `player setMagazineReloadTime [player, "GL_3GL_F", 11];` //→11 sec to reload a rifle's grenade laucher magazine
- `_vehicle setWeaponReloadTime [gunner vehicle player, currentMuzzle gunner vehicle player, 1];` //→ 1 sec between each shot
And commands to return reloads time
-- player magazineReloadTime (objectParent [player); //this can return the [number(`time`), boolean(`isDefault`)].er, Parameter `isDefault` or `overwritten`returns true if value has not been changed.
- weaponReladTime (objectParent player); //or just number"GL_3GL_F"];
- _vehicle weaponReloadTime [gunner _vehicle, we can return this value by getNumber+configFilecurrentMuzzle gunner _vehicle];
For eExamples
-- `player magazineReloadTime (objectParent [player);, //[4, false]"GL_3GL_F"];` //→11 sec to reload a rifle's grenade laucher magazine
-- `_vehicle weaponReloadTime (objectParent player);[gunner _vehicle, //[2, true]currentMuzzle gunner _vehicle];` //→ 1 sec between each shot