Skull_Army 11 Posted March 18, 2019 I've setup the vanilla MK41 VLS to fire at 3 targets, this code below was put together with the help of a friend (who is now out of reach): 0 = 0 spawn { { west reportRemoteTarget [_x, 3600]; _x confirmSensorTarget [west, true]; VLS1 fireAtTarget [_x, "weapon_vls_01"]; sleep 14; } forEach [TARGET2, TARGET4, TARGET6]; }; This works fine but 14 is the shortest sleep possible because of the weapons reload time. I'd ideally like to get sleep down to 2 but I'm having trouble with it. I'm aware of "setWeaponReloadingTime" but my scripting knowledge is sub-par. I've tried putting the setWeaponReloadingTime syntax in a few different ways and although not returning errors it seems to be making no difference to the actual reload time. Can anyone help? Share this post Link to post Share on other sites
pierremgi 4738 Posted March 18, 2019 0 = VLS1 spawn { _vls = _this; { west reportRemoteTarget [_x, 3600]; _x confirmSensorTarget [west, true]; _vls setWeaponReloadingTime [gunner _vls, currentMuzzle gunner _vls, 0]; _vls fireAtTarget [_x, "weapon_vls_01"]; uiSleep 2; } forEach [TARGET2, TARGET4, TARGET6]; }; 1 Share this post Link to post Share on other sites
Skull_Army 11 Posted March 18, 2019 Works perfectly, thank you! Share this post Link to post Share on other sites