PreedSwe 18 Posted October 8, 2012 Hi Im wondering if it is possible through scripting to fire a vehicle weapon blind(straight ahead) without having a target. With or without a gunner. All the functions I have seen(fire, dofire, useweapon etc) all require targets. The idea is to be able to use some kind of suppressive fire, or have AI wingmates do a strafe run by basically firing at the position the squad leader is shooting at.. Either by ordering the AI to fire blind, or an eventhandler that fires the wingmate planes weapons when the squad leader fires.. Share this post Link to post Share on other sites
Horner 13 Posted October 8, 2012 A really jerry-rigged way of doing this may be to use createVehicle with ammo and set the direction with some sort of mouse button down event handler. I've done it with rockets before. Share this post Link to post Share on other sites
PreedSwe 18 Posted October 9, 2012 Hmm, well that might work.. Not sure how to do the eventhandler though, can't you only use mousebuttondown, keydown etc events on display eventhandlers/ctrl eventhandlers? Also, might get laggy if I want to imitate firing a Gsh-301 or something else with a high rof.. Share this post Link to post Share on other sites
Sealife 22 Posted October 9, 2012 in ofp you could put a logic in the vehicle and dofire would work , also in Arma2 there is an invisible man :) Share this post Link to post Share on other sites
PreedSwe 18 Posted October 9, 2012 You mean use the logic as target? Share this post Link to post Share on other sites
Sealife 22 Posted October 9, 2012 no logic as the gunner :) use this mixture should get your result https://community.bistudio.com/wiki/ArmA:_Actions#USEWEAPON https://community.bistudio.com/wiki/fire Share this post Link to post Share on other sites
bad benson 1733 Posted October 10, 2012 laser targets are good "invisible" targets too. they can even be locked on to. Share this post Link to post Share on other sites