Jump to content
Sign in to follow this  
BobbyBlue

Bug or intentional? Can't flare from gunner seat if controlling heli

Recommended Posts

So I noticed that if your pilot gets shot in the blackfoot for example and you take controls, that you cannot deploy flares. Do you guys think this is intentional or a bug? I was thinking that if you had access to the controls you would be able to deploy flares.

Share this post


Link to post
Share on other sites

I believe it's intentionally, but the following may circumvent that (all untested):

//put this in the initPlayerLocal.sqf  

(findDisplay 46) displayAddEventHandler 
[ 
   "KeyDown", 
   { 
       _handled = false; 
       if (
			(_this select 1) in (actionKeys "LaunchCM") && 
			{vehicle player isKindOf "Helicopter" && gunner (vehicle player) isEqualTo player} && 
			{isNull driver (vehicle player) || !alive driver (vehicle player)}
	    ) 
	then 
       { 
           (vehicle player) fire "CMFlareLauncher"; 
           _handled = true; 
       }; 
       _handled; 
   } 
];  

Edited by JShock

Share this post


Link to post
Share on other sites

Yea, I also hope it's not intentional. Would be pretty disappointing.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×