Jump to content
Sign in to follow this  
Jack Hammersmith

how to check ammo of commander turret?

Recommended Posts

How can I get the weapons and ammo of any additional turret of a vehicle? (abrams)

I know how to get the position of the gunner but with the turret path ["Turret", [0,0]] I´m not able to check weapon etc.

and with: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_gunners=[];

{if (Count (AssignedVehicleRole _x)>1) Then

{

_gunners=_gunners+[_x]

}

} ForEach (Crew (_vehicle));

_commander = (_gunners select 1);

_weapons = weapons _commander;

I´m only able to return the weapons of the unit which is controlling the turret (["M4", "M9", "NVgoggles"])

And <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_weapons = weapons _vehicle will only return ["M256", "M240_VEH"].

How can I get the 3rd one?

Please help me.

Share this post


Link to post
Share on other sites

I don't know if BI ever added the needed script commands to do this. The only thing one can do with a second+ turret is moveInTurret, and the getInTurret and useWeapon actions. Oh, and setVehicleAmmo can be used to reload all vehicle weapons.

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  

×