GuideZ 1 Posted September 12, 2012 Been looking all over google and the forums, and can't find this: How do I get my AI to switch their firing mode or to a under-barrel? For example, my AI guy has a M16A2 with a M203 grenade launcher. I removeAllWeapons, then add the M203 "magazine", then give him the gun, but he just says "out of ammo". Have no idea how to tell him to switch to his M203. Share this post Link to post Share on other sites
kylania 568 Posted September 12, 2012 Good luck with that. :) You might be able to use setWeaponState maybe? Never really bothered with AI trying to do specific anything. The fix listed in that ticket looks promising too though, but it's a mod. Share this post Link to post Share on other sites
panther42 52 Posted September 12, 2012 That's funny kylania, I was just reading that Bug ticket also... I don't know if Robalo's ASR Grenadier Fix corrects this? Maybe the use of selectWeapon and then fire? Share this post Link to post Share on other sites
kylania 568 Posted September 12, 2012 Was thinking selectWeapon too, but too sleepy to look up muzzles. heh I think the best bet is that config fix unless he's trying for a cut scene kinda thing though. Share this post Link to post Share on other sites
GuideZ 1 Posted September 12, 2012 I actually just need him to select and fire the M203, don't really care WHERE he shoots it from. Is there a specific Class to call for the M203? Couldn't find it. Share this post Link to post Share on other sites
panther42 52 Posted September 12, 2012 "M203Muzzle" Share this post Link to post Share on other sites
GuideZ 1 Posted September 12, 2012 Worked like a charm, thanks! It's for my little mini series I am doing, Share this post Link to post Share on other sites
GuideZ 1 Posted September 22, 2012 Did this stop working with a BETA release or something? It no longer works! this selectWeapon "M203Muzzle"; Share this post Link to post Share on other sites