Skip to content

Commit

Permalink
Update fnc_getInAddAction.sqf
Browse files Browse the repository at this point in the history
  • Loading branch information
mgkid3310 committed Feb 16, 2021
1 parent cf3c478 commit ec17a7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/gpws/functions/fnc_getInAddAction.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ _vehicle addAction ["Set to Rita", {(_this select 0) setVariable [QGVAR(GPWSmode
_vehicle addAction ["Test GPWS (B747)", {[_this select 0] spawn FUNC(b747GPWStest)}, nil, 1.01131, false, true, "", "([nil, _target, 1] call orbis_main_fnc_isCrew) && (_target getVariable ['orbis_gpws_isGPWSenabled', false]) && (_target getVariable ['orbis_gpws_GPWSmodeLocal', 'off'] isEqualTo 'b747') && (_target getVariable ['orbis_gpws_GPWStestReady', true])", 100];
_vehicle addAction ["Test GPWS (Betty)", {[_this select 0] spawn FUNC(f16GPWStest)}, nil, 1.01132, false, true, "", "([nil, _target, 1] call orbis_main_fnc_isCrew) && (_target getVariable ['orbis_gpws_isGPWSenabled', false]) && (_target getVariable ['orbis_gpws_GPWSmodeLocal', 'off'] isEqualTo 'f16') && (_target getVariable ['orbis_gpws_GPWStestReady', true])", 100];
_vehicle addAction ["Test GPWS (Rita)", {[_this select 0] spawn FUNC(ritaGPWStest)}, nil, 1.01133, false, true, "", "([nil, _target, 1] call orbis_main_fnc_isCrew) && (_target getVariable ['orbis_gpws_isGPWSenabled', false]) && (_target getVariable ['orbis_gpws_GPWSmodeLocal', 'off'] isEqualTo 'rita') && (_target getVariable ['orbis_gpws_GPWStestReady', true])", 100];
_vehicle addAction ["Stop GPWS Test", {(_this select 0) setVariable [QGVAR(GPWStestStop), true, true]}, nil, 1.01134, false, true, "", "([nil, _target, 1] call orbis_main_fnc_isCrew) && (_target getVariable ['orbis_gpws_isGPWSenabled', false]) && (_target getVariable ['orbis_gpws_GPWSmodeLocal', 'off'] != 'off') && !(_target getVariable ['orbis_gpws_GPWStestReady', true]) && !(_target getVariable [QGVAR(GPWStestStop), false])", 100];
_vehicle addAction ["Stop GPWS Test", {(_this select 0) setVariable [QGVAR(GPWStestStop), true, true]}, nil, 1.01134, false, true, "", "([nil, _target, 1] call orbis_main_fnc_isCrew) && (_target getVariable ['orbis_gpws_isGPWSenabled', false]) && (_target getVariable ['orbis_gpws_GPWSmodeLocal', 'off'] != 'off') && !(_target getVariable ['orbis_gpws_GPWStestReady', true]) && !(_target getVariable ['orbis_gpws_GPWStestStop', false])", 100];
_vehicle addAction ["Lower Volume", {(_this select 0) setVariable [QGVAR(GPWSvolumeLow), true, true]}, nil, 1.01141, false, true, "", "([nil, _target, 1] call orbis_main_fnc_isCrew) && (_target getVariable ['orbis_gpws_isGPWSenabled', false]) && !(_target getVariable ['orbis_gpws_GPWSvolumeLow', false])", 100];
_vehicle addAction ["Increase Volume", {(_this select 0) setVariable [QGVAR(GPWSvolumeLow), false, true]}, nil, 1.01142, false, true, "", "([nil, _target, 1] call orbis_main_fnc_isCrew) && (_target getVariable ['orbis_gpws_isGPWSenabled', false]) && (_target getVariable ['orbis_gpws_GPWSvolumeLow', false])", 100];
_vehicle addAction ["TCAS TA/RA", {(_this select 0) setVariable [QGVAR(tcasMode), 2, true]}, nil, 1.0121, false, true, "", "([nil, _target, 1] call orbis_main_fnc_isCrew) && (_target getVariable 'orbis_gpws_tcasMode', 0] != 2)", 100];
_vehicle addAction ["TCAS TA/RA", {(_this select 0) setVariable [QGVAR(tcasMode), 2, true]}, nil, 1.0121, false, true, "", "([nil, _target, 1] call orbis_main_fnc_isCrew) && (_target getVariable ['orbis_gpws_tcasMode', 0] != 2)", 100];
_vehicle addAction ["TCAS TA", {(_this select 0) setVariable [QGVAR(tcasMode), 1, true]}, nil, 1.0122, false, true, "", "([nil, _target, 1] call orbis_main_fnc_isCrew) && (_target getVariable ['orbis_gpws_tcasMode', 0] != 1)", 100];
_vehicle addAction ["TCAS Stand By", {(_this select 0) setVariable [QGVAR(tcasMode), 0, true]}, nil, 1.0123, false, true, "", "([nil, _target, 1] call orbis_main_fnc_isCrew) && (_target getVariable ['orbis_gpws_tcasMode', 0] != 0)", 100];
_vehicle addAction ["Transponder Mode C", {(_this select 0) setVariable [QGVAR(transponderMode), 2, true]}, nil, 1.0131, false, true, "", "([nil, _target, 1] call orbis_main_fnc_isCrew) && (_target getVariable ['orbis_gpws_transponderMode', 0] != 2)", 100];
Expand Down

0 comments on commit ec17a7e

Please sign in to comment.