Block FCS when controlling a UAV

Fix doing FCS keyUp calculations/setVariable
when controlling a UAV while also in a turret with FCS enabled.

Normal rangefinder on the UAV will still work as FUNC(canUseRangefinder)
is still true
This commit is contained in:
PabstMirror 2016-06-24 16:53:13 -05:00
parent e298f5c71b
commit 618d3a2e96

View File

@ -18,3 +18,4 @@
getNumber ([configFile >> "CfgVehicles" >> typeOf vehicle ACE_player, [ACE_player] call EFUNC(common,getTurretIndex)] call EFUNC(common,getTurretConfigPath) >> QGVAR(Enabled)) == 1
&& {cameraView == "GUNNER"}
&& {!([ACE_player] call CBA_fnc_canUseWeapon)} //Not Turned Out
&& {cameraOn != (getConnectedUAV ACE_player)} //Not Controlling a UAV