mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Alt. syntax in favor of obsolete BIS func.
This commit is contained in:
parent
8ad6d3ccff
commit
772a0fcd6a
@ -20,7 +20,7 @@ if (underwater ACE_player) exitWith { false };
|
||||
if (!("ACE_Kestrel4500" in (uniformItems ACE_player)) && !("ACE_Kestrel4500" in (vestItems ACE_player))) exitWith { false };
|
||||
|
||||
GVAR(Overlay) = false;
|
||||
(QGVAR(Layer) call BIS_fnc_rscLayer) cutText ["", "PLAIN"];
|
||||
QGVAR(Layer) cutText ["", "PLAIN"];
|
||||
|
||||
GVAR(Kestrel4500) = true;
|
||||
createDialog 'Kestrel4500_Display';
|
||||
|
@ -38,7 +38,7 @@
|
||||
|
||||
if (GVAR(Overlay)) exitWith {
|
||||
GVAR(Overlay) = false;
|
||||
(QGVAR(Layer) call BIS_fnc_rscLayer) cutText ["", "PLAIN"];
|
||||
QGVAR(Layer) cutText ["", "PLAIN"];
|
||||
true
|
||||
};
|
||||
if (underwater ACE_player) exitWith { true };
|
||||
@ -55,7 +55,7 @@ GVAR(Overlay) = true;
|
||||
// abort condition
|
||||
if (!GVAR(Overlay) || {!(("ACE_Kestrel4500" in (uniformItems ACE_player)) || ("ACE_Kestrel4500" in (vestItems ACE_player)))}) exitWith {
|
||||
GVAR(Overlay) = false;
|
||||
(QGVAR(Layer) call BIS_fnc_rscLayer) cutText ["", "PLAIN"];
|
||||
QGVAR(Layer) cutText ["", "PLAIN"];
|
||||
[_this select 1] call CBA_fnc_removePerFrameHandler;
|
||||
};
|
||||
|
||||
@ -64,7 +64,7 @@ GVAR(Overlay) = true;
|
||||
|
||||
private _outputData = [] call FUNC(generateOutputData);
|
||||
|
||||
(QGVAR(Layer) call BIS_fnc_rscLayer) cutRsc ["RscKestrel4500", "PLAIN", 1, false];
|
||||
QGVAR(Layer) cutRsc ["RscKestrel4500", "PLAIN", 1, false];
|
||||
_outputData params [
|
||||
"_ctrlTop",
|
||||
"_ctrlCenterBig",
|
||||
|
Loading…
Reference in New Issue
Block a user