mandoble 1 Posted December 12, 2009 I know this is a quite atypical request, but might be quite interesting as several projected MMA features might relay on this. A new command that returns the current first weapon index of a named weapon for a vehicle (the same weapon index used in "Use weapon" action: idx = object getFirstWeaponIndex "weapon name"; _widx = my_ah1z getFirstWeaponIndex "SidewinderLaucher_AH1Z"; Share this post Link to post Share on other sites
Cyborg11 10 Posted December 12, 2009 This command would be really cool. BIS, add this command please :) Share this post Link to post Share on other sites
An Fiach 10 Posted December 12, 2009 Please explain for the script illiterate. Share this post Link to post Share on other sites
mandoble 1 Posted December 12, 2009 MMA uses "useWeapon" action to fire missiles from non portable missile launchers (for example huds), which means that you can have gun selected as BIS weapon while sidewinders selected as MMA weapon. Which means that you can use two different joy buttons in a dogfight to fire gun or missiles. This is just a quite basic example, and it relies on useWeapon action, which also requires the exact weapon index number to be used (not weapon name). Share this post Link to post Share on other sites
An Fiach 10 Posted December 12, 2009 Thanks, yes I agree it is much needed. Share this post Link to post Share on other sites
Evil_Echo 11 Posted December 13, 2009 All for it, but would like to get a list of the weapon modes. Then just do a select 0. Share this post Link to post Share on other sites