spear 23 Report post Posted September 26, 2015 (edited) How to put this"this addMagazine "38Rnd_80mm_rockets";this addWeapon "rockets_Skyfire";" into a script and make it run for every "B_Heli_Light_01_stripped_F" instead of adding it to the vehicles init ? Edited September 26, 2015 by spear Share this post Link to post Share on other sites
MattPlaysSimulations 1 Report post Posted August 21, 2016 im wondering the same bud, anyone able to help us? Share this post Link to post Share on other sites
.Doppelpoint 14 Report post Posted August 25, 2016 same, bump Share this post Link to post Share on other sites
John 540 Report post Posted August 26, 2016 Assuming you want this run on every vehicle that exists on your server of that class name? You could run this when your server initializes. Might work for you. _vehicleArray = allMissionObjects "B_Heli_Light_01_stripped_F"; { _x addMagazine "38Rnd_80mm_rockets"; _x addWeapon "rockets_Skyfire"; } forEach _vehicleArray; 1 Share this post Link to post Share on other sites
.Doppelpoint 14 Report post Posted August 26, 2016 (edited) 3 hours ago, John said: Assuming you want this run on every vehicle that exists on your server of that class name? You could run this when your server initializes. Might work for you. _vehicleArray = allMissionObjects "B_Heli_Light_01_stripped_F"; { _x addMagazine "38Rnd_80mm_rockets"; _x addWeapon "rockets_Skyfire"; } forEach _vehicleArray; thanks will try it, would this also working with _x removeMagazinesTurret ["20Rnd_120mmSABOT_M1A2",[0]] ? (would like to remove the Xian ammo) regards Edited August 26, 2016 by .Doppelpoint Share this post Link to post Share on other sites