Jump to content
matijs

AddMagazine for heli's problem

Recommended Posts

Hey there!

 

I've got a bit of a problem here.

 

I am trying to add a magazine to a vehicle (in this case a heli) so that the player can go inside the vehicle and reload the turret and fire.

Problem is, when adding the magazine to the helicopter, you can only reload the Left gunner. I tried this for many heli's and its always the Left gunner that works.

After adding the ammo, if I go into the Right gunner seat, I can see the reload icon & when scrolling I can see the text to reload the gun with the ammo that I added, but pressing this button doesnt do anything.

 

This is the code I used:

_vehicleObject addMagazine _magClass;

//_vehicleObject = "7d2c4100# 277500: heli_transport_01_f.p3d" (in this case)
//_magClass = "2000Rnd_65x39_Belt_Tracer_Red" (in this case)

Hopefully someone could tell me what I'm doing wrong or why this isnt working.

 

Thanks in advance,

Matijs

Share this post


Link to post
Share on other sites

use addMagazineTurret to target specific turret

 

Thanks for the answer, still gives me the same result as with addMagazine.

When doing: addMagazineTurret ["magname", 2]; it gives a mag that I cannot reload using the right gunner.

Share this post


Link to post
Share on other sites

Thanks for the answer, still gives me the same result as with addMagazine.

When doing: addMagazineTurret ["magname", 2]; it gives a mag that I cannot reload using the right gunner.

 

Impossible, 2 is not a valid turret path https://community.bistudio.com/wiki/addMagazineTurret

 

This page gives explanation about turrets and paths https://community.bistudio.com/wiki/moveInTurret

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

×