Jump to content
Sign in to follow this  
fasad

Secondary gunner/turret

Recommended Posts

G'day all,

I apologize if this has already been covered, I searched without any luck. ArmA allows secondary (and more) turrets. AFAIK, the only scripting access we have is the ability to move or assign units into them (eg player moveInTurret [myT72, [0,0]]).

Is it possible to refer to:

* the unit manning that turret - something like mySecondaryGunner = gunner2 myVehicle

* the secondary weapon's accessible "storage", since it seems to be discrete from the vehicles - something like myTankSecondaryTurret addmagazine "type"

Of course, any other relevant commands would be great. Thanks smile_o.gif

edit: solved the refering to the secondary weapon part - vehicle unitOne fire "secondaryVehicleWeapon". Problem is the command will only fire the first encountered instance of the weapon type, so vehicles must not have the same weapon type on more than one turret (eg uh60 uses "m134" and "m134_2").

Share this post


Link to post
Share on other sites
Quote[/b] ]Is it possible to refer to:

* the unit manning that turret - something like mySecondaryGunner = gunner2 myVehicle

* the secondary weapon's accessible "storage", since it seems to be discrete from the vehicles - something like myTankSecondaryTurret addmagazine "type"

Unfortunately no, these aren't currently possible. The workaround you mentioned works for the fire command, but it's not a complete solution. Hopefully BIS will add full script support for turrets soon though. confused_o.gif

Share this post


Link to post
Share on other sites

ah, that's no fun sad_o.gif

Thanks for the reply. I hope they add some new commands soon.

Share this post


Link to post
Share on other sites

Update, It should be possible to fire any weapon on any turret using the "useWeapon" action, although you need to be able to refer to the user of non-primary turrets...

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  

×