Jump to content
  • 0

Removing and adding weapons from vehicles


mintypie007

Question

So I understand the that the ability to remove and add weapons which vehicles spawn with exists. I have not done this yet. What I am curious about is if the ability to remove some of the more OP weapons and replace them with say a M4 with the 100round beta stanag mags. Anyone know if in Arma there is a way to attach say an m4 to a vehicle which has had its weapons removed? This would be an interesting way to make a server a unique experience.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
here is a sample in my server_functions.sqf for my taviana server 
 
I have added and removed weapons from alot of vehicles
I just started an epoch tavi server tested script and it works
 
//AN2_DZ add weapons
if (_object isKindOf "AN2_DZ") then {
_object addWeapon "M240_veh";
_object addMagazine "100Rnd_762x51_M240";
 
 
to remove weapons just change
 
_object removeWeapon "M240_veh";              
_object removeMagazine "100Rnd_762x51_M240";
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...