Merge pull request #3991 from acemod/uavFCS

Block FCS when controlling a UAV
This commit is contained in:
Glowbal 2016-06-26 10:47:19 +02:00 committed by GitHub
commit 52f8def590

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