mr.g-c 6 Posted March 16, 2010 Is it possible to script, so that an AI Soldier reloads a Flare in his Underbarrel Grenadelauncher, points the weapons straight up and fires it? I've looked through many scripting commands, but i don't know where to start, besides equipping AI with the proper weapon and magazines. Thanks! :) Share this post Link to post Share on other sites
Gnome_AS 10 Posted March 17, 2010 Not 100% on this, but think I remember reading somewhere that it could be done with something like invisible targets, select muzzle, and doFire command. Never tried it myself, but in therory it should work. Believe I've seen similar scripts in a few missions. Think one was done on Rahmadi, I recall endless flares. Not sure thats what you need but maybe a good reference to sort things out. (i'll dig thru the archives and see if i can find it) Reference Commands: createVehicle, selectWeapon & doFire Hope it helps some, Gnome Share this post Link to post Share on other sites
mr.g-c 6 Posted March 18, 2010 Haha i found by coincidence a post here: http://forums.bistudio.com/showpost.php?p=1590725&postcount=227 Seems "SelectWeapon" and then "fire" could do the trick... i'll see it then... Share this post Link to post Share on other sites
Gnome_AS 10 Posted March 19, 2010 Lmao, nice. (it's all about perspective) Share this post Link to post Share on other sites