Dominopi Posted January 27, 2015 Report Share Posted January 27, 2015 Hello,, Where Can I find working scripts to remove ammo from (Cars/Armors/Heli) to Epoch 1.0.5.1? Its is possible to add vehicles with out ammo to traders? Best regards, domino Link to comment Share on other sites More sharing options...
0 Nekuan Posted January 27, 2015 Report Share Posted January 27, 2015 http://opendayz.net/threads/release-remove-weapons-ammunition-thermal-from-vehicle-epoch-version.18044/ Link to comment Share on other sites More sharing options...
0 Dominopi Posted January 28, 2015 Author Report Share Posted January 28, 2015 thank you. Where can I find classname weapon and ammo. For example I want remove rockets from ka60_gl_pmc on pilot (14 rockets Name S-5). How can I do that? I dont have Idea. //The method underneath is if you want to remove a specific Weapon or a specific amount of ammo if (_object isKindof "Ka60_GL_PMC") then { _object magazinesTurret [-1]; _object removeMagazinesTurret ["14Rnd_FFAR",[-1]]; _object WeaponsTurret [-1]; _object removeWeapon "FFARLauncher_14"; }; //SECOND METHOD //The method underneath is for removing the complete ammo for the selected seat in the vehicle if (_object isKindof "Ka60_GL_PMC") then { _mag = _object magazinesTurret [-1]; cpt = 0; { _object removeMagazinesTurret [_mag select cpt,[-1]]; cpt = cpt + 1; } forEach _mag; //You still need to remove the weapon _object WeaponsTurret [-1]; _object removeWeapon "FFARLauncher_14"; }; Link to comment Share on other sites More sharing options...
0 Nekuan Posted January 28, 2015 Report Share Posted January 28, 2015 Usually you get them from here: https://community.bistudio.com/wiki/ArmA_2:_Weapons#Vehicle_.26_Static_Weapons But removing the weapons from some vehicles like the ka60_gl is imo impossible. Same for the lynx so you propably have to go with _object setVehicleAmmo 0; Link to comment Share on other sites More sharing options...
Question
Dominopi
Hello,,
Where Can I find working scripts to remove ammo from (Cars/Armors/Heli) to Epoch 1.0.5.1?
Its is possible to add vehicles with out ammo to traders?
Best regards, domino
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now