Mr H. 400 Posted July 22, 2018 I'm trying to use BIS_fnc_fireSupportVirtual to work with RHS artillery assets (the m119a2 arty canon for the moment). But so far with no luck. I got the magazine classnames by getting in the m119a2 and using currentMagazine vehicle player; while changing the type of ammo in the artillery computer. I obtained these: "HE-FRAG M1" //"RHS_mag_m1_he_12" "Illumination M314" //"rhs_mag_m314_ilum_4" "Smoke M60A2" //"rhs_mag_m60a2_smoke_4" But using [player,"rhs_mag_m60a2_smoke_4",10,1,0] call BIS_fnc_fireSupportVirtual will not work. While [player,"32Rnd_155mm_Mo_shells",10,1,0] call BIS_fnc_fireSupportVirtual (vanilla ammo) works. I was wondering if maybe I was not using the correct classnames. Any ideas? Share this post Link to post Share on other sites
Larrow 2801 Posted July 22, 2018 3 hours ago, Mr H. said: "rhs_mag_m60a2_smoke_4" This is a magazine. The function requires ammo. _ammo = getText( configFile >> "CfgMagazines" >> "rhs_mag_m60a2_smoke_4" >> "ammo" ); Which retruns "rhs_ammo_m60a2_smoke"; 1 Share this post Link to post Share on other sites
Mr H. 400 Posted July 22, 2018 thanks I had just right now figured that out and was searching how to get the ammo type, your answer is perfect and comes just in time, as usual @Larrow! Share this post Link to post Share on other sites