Merge pull request #3516 from acemod/cbamissiontime

replace timePFH with CBA_missionTime
This commit is contained in:
commy2
2016-05-30 21:23:57 +02:00
111 changed files with 291 additions and 349 deletions

View File

@ -45,13 +45,13 @@ _vertical ctrlSetText (str _elevation);
_horizontal ctrlSetText (str _windage);
// Set the time when to hide the knobs
GVAR(timeToHide) = ACE_diagTime + 3.0;
GVAR(timeToHide) = diag_tickTime + 3.0;
if !(isNil QGVAR(fadePFH)) exitWith {};
// Launch a PFH to wait and fade out the knobs
GVAR(fadePFH) = [{
if (ACE_diagTime >= GVAR(timeToHide)) exitWith {
if (diag_tickTime >= GVAR(timeToHide)) exitWith {
private "_layer";
params ["", "_pfhId"];
_layer = [QGVAR(Zeroing)] call BIS_fnc_rscLayer;