PigeonSparrow 3 Posted August 19, 2018 I keep running into this issue and it's driving me crazy. Whenever a taxiing ai jet targets an enemy aircraft in the air, it fires an AA missile while still on the ground and blows itself up. It does it every time. Anyone else have this issue? Though it might be a mod but I unloaded everything and they still keep blowing up. 2 Share this post Link to post Share on other sites
pierremgi 4906 Posted August 19, 2018 Yep! it's ridiculous. Even in forced "safe" behaviour, the pilot fires! My workaround: in init field for your aircraft: if (isTouchingGround this && local this) then { this setBehaviour "AWARE"; comment " 'SAFE' makes the aircraft static (stopped) on runway"; this disableAi "autoCombat"; this disableAI "CHECKVISIBLE" }; this addEventHandler ["Gear", { params ["_plane", "_gearDown"]; if (_gearDown) then { _plane setBehaviour "AWARE"; driver _plane disableAi "autoCombat"; driver _plane disableAI "CHECKVISIBLE"; systemChat "LG down" }; if !(_gearDown) then { driver _plane enableAi "autoCombat"; driver _plane enableAI "CHECKVISIBLE"; systemChat "LG retracted" }; }]; 1 1 Share this post Link to post Share on other sites
pierremgi 4906 Posted August 19, 2018 @GEORGE FLOROS GR At least, this code works... Tested in Vanilla. 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted August 19, 2018 43 minutes ago, pierremgi said: At least, we have persons , that have this kind of skills , talent and possibilities ! Thanks Pierre ! Share this post Link to post Share on other sites
PigeonSparrow 3 Posted August 19, 2018 Thanks for your help Pierre! Your workaround was just what I was looking for! Share this post Link to post Share on other sites