oneisdown 16 Posted September 11, 2016 I am using the script snippet "Adding Custom Inits to Spawned Units" in the ALIVE wikki to do a custom load out for spawned units using RHS Russian troops (msv). I need to make just the RPG and rocket launching troops way less accurate. Is there a way to add a line into the script using the "aiming accuracy sub skill" settings for just these types of RPG units? This snippet works perfect for night battles, but the RPG soldiers need less accuracy. I am using Dac to spawn the bad guys. private "_unit"; _unit = _this select 0; if (side _unit == east) then { _unit removeMagazines "rhs_30Rnd_545x39_7N10_AK"; _unit removePrimaryWeaponItem "rhs_30Rnd_545x39_7N10_AK"; _unit addPrimaryWeaponItem "rhs_30Rnd_545x39_AK_green"; _unit addMagazines ["rhs_30Rnd_545x39_AK_green", 12]; }; private "_unit"; _unit = _this select 0; if (side _unit == west) then { _unit removeMagazines "rhs_mag_30Rnd_556x45_Mk318_Stanag"; _unit removeItem "rhsusf_ANPVS_14"; _unit removePrimaryWeaponItem "rhs_mag_30Rnd_556x45_Mk318_Stanag"; _unit addPrimaryWeaponItem "rhs_mag_30Rnd_556x45_M855A1_Stanag_Tracer_Red"; _unit addMagazines ["rhs_mag_30Rnd_556x45_M855A1_Stanag_Tracer_Red", 13]; }; Share this post Link to post Share on other sites
L.Trale 10 Posted September 11, 2016 So you're just trying to change the accuracy of the units with RPGs? Heres a few things I found: http://www.armaholic.com/forums.php?m=posts&q=22942 https://community.bistudio.com/wiki/setSkill_array Hope this helps Share this post Link to post Share on other sites
oneisdown 16 Posted September 11, 2016 I can use that for the units that I place in the editor but for units that are spawned by Dac and ALIVE have to be scripted in. Share this post Link to post Share on other sites