juleshuxley 9 Posted October 31, 2020 If I want to get the active weapon of a vehicle's primary turret ("gunner" position) I simply do this: _weaponClass = currentWeapon (vehicle player); However, how am I meant to get the active weapon of a non-primary turret such as the commander turret? I've got a feeling it's not possible. I am irritated and gobsmacked. There are literally no commands to get the current weapon for a non primary turret. No way to get "M2" in that image into a variable. I'm so annoyed. Arma has this big API that makes you think your idea is possible, then it has these random holes that makes your idea impossible. Thinking of giving up modding and just developing full games, fed up being at the mercy of some patchy API. So annoyed as I am half way through a mod that requires knowing what the current weapon is for the non primary turret. What a waste of ***** time.Surely there's a way to get the weapon a unit is controlling? Surely? The weapon class is right there on the **** screen, M2. Share this post Link to post Share on other sites
juleshuxley 9 Posted October 31, 2020 Would really appreciate a straight answer rather than getting ignored. I get ignored 80% of the time but this one takes the **** as I'm halfway though developing something and i've ony just realised there's no commmand to get. It's just so fundamental I assumed there would be a function. So annoyed. Share this post Link to post Share on other sites
juleshuxley 9 Posted October 31, 2020 hasWeapon is another red herring. 😡 https://community.bistudio.com/wiki/hasWeapon Share this post Link to post Share on other sites
Larrow 2821 Posted October 31, 2020 currentWeaponTurret Always use Scripting Commands Arma 3 and enable search as I type in your browser and search for keywords like turret etc. 2 Share this post Link to post Share on other sites
juleshuxley 9 Posted October 31, 2020 I'm such an idiot. Or maybe sleep depreived. thank you Share this post Link to post Share on other sites