Jump to content
Sign in to follow this  
atledreier

How to check UH-1Y ammo

Recommended Posts

Hi!

Working on a mission where I need to check the ammo of the different weapons on a Huey.

The first gunner is fine, I use '_unit ammo "M134"' to check that gun. But the FFAR launcher and the other gun return 0 no matter what I do. I have also tried checking the ammotype and magazine types, all but "M134" return 0.

What am i doing wrong?

My debug code;

hint format ["Remaining: %1 rounds for gunner #1 in %2",_unit ammo "M134",_unit];
sleep 2;
hint format ["Remaining: %1 rounds for gunner #2 in %2", _unit ammo "M134_2",_unit];
sleep 2;
hint format ["Remaining: %1 rockets for %2",_unit  ammo "FFARLauncher_14",_unit];
sleep 2;

Share this post


Link to post
Share on other sites

http://community.bistudio.com/wiki/weapons

In version 1.02 this command returns only weapons defined for the primary turret of the vehicle. for ex. only ["D81", "PKT"] for t72, not ["D81", "PKT","DSHKM"]

The problem you have is that you only see the main turret which in this case is the weapon of the guy behind the co-pilot.

Edit:

You could however use an attack helicopter such as the AH64, if you check the weapons command on it you will then see an array such as ["M230","FFARLauncher","HellfireLauncher"] aka. its all listed and you can check its ammo.

Edited by Joshii

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
Sign in to follow this  

×