favbar: return on void 2

This commit is contained in:
Raymix 2017-08-02 21:53:31 +01:00
parent ec701873f7
commit a09c53b723
4 changed files with 6 additions and 2 deletions

View File

@ -117,3 +117,4 @@ switch _action do {
for "_i" from 1 to 5 do {
(["fav_pic_bg", _i] call epoch_getHUDCtrl) ctrlSetText "x\addons\a3_epoch_code\Data\UI\favbar\fav_bg.paa";
};
true

View File

@ -1,4 +1,5 @@
for "_i" from 0 to 4 do {
_c = (["fav_pic", _i+1] call epoch_getHUDCtrl);
_c ctrlSetText ((rmx_var_favBar_current select _i) call EPOCH_itemPicture);
};
};
true

View File

@ -75,6 +75,7 @@ for "_i" from 1 to 5 do {
(["fav_pic_bg", _i] call epoch_getHUDCtrl) ctrlShow true;
};
true
/*
{
_crl = _display displayCtrl _x;

View File

@ -5,4 +5,5 @@ case [false,false,true]:{rmx_var_favBar_current = rmx_var_favBar_MAlt;};
default {rmx_var_favBar_current = rmx_var_favBar_MNone;};
};
call epoch_favBar_drawCurrent;
call epoch_favBar_refresh;
call epoch_favBar_refresh;
true