Jump to content
ohgo0

How to Add Land weapon to air vehicle arma3

Recommended Posts

Hi.This is a dumb question, but I am currently trying to get an IDAP mine disposal drone to drop 82mm mortars instead of mine disposal explosives. However, it does not work. Is there any way to solve this problem?

Share this post


Link to post
Share on other sites

The probable easiest way is to "hack" the projectile when created.

In init field of the demining drone:

 

this addEventHandler ["Fired", {
  params ["", "", "", "", "", "", "_projectile"];
  createVehicle ["Bo_Mk82",getpos _projectile,[],0,"can_collide"];
  deleteVehicle _projectile;
}];

 

  • Like 3

Share this post


Link to post
Share on other sites

Sorry for the late reply. Thanks for your help. It worked successfully with your syntax.

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×