colorBackground[] = {0.56,0.55,0.17,0.7};
colorBar[] = {0,0,0,0.7};
[myBar, [0, 0, 1, 0.2], "colorBar"]=>{0,0,0,0}, "colorBackground"]=>{0,0,0,1}, "colorFrame"]=>{1,1,1,1}, "colorBarProgress"]=>{1,0,0,1}, "invert"]=>true];
#include "..\..\script_macros.hpp"
/*
File: fn_hudUpdate.sqf
Author: Daniel Stuart
Description:
Updates the HUD when it needs to.
*/
disableSerialization;
if (isNull LIFEdisplay) then {[] call life_fnc_hudSetup;};
LIFEctrl(2200) progressSetPosition (life_hunger / 100);
LIFEctrl(2201) progressSetPosition (1 - (damage player));
LIFEctrl(2202) progressSetPosition (life_thirst / 100);
LIFEctrl(2200) progressSetPosition (life_hunger / 100);
LIFEctrl(2200) progressSetPosition (1 - (life_hunger / 100));
colorBackground[] = {0.56,0.55,0.17,0.7};
colorBar[] = {0,0,0,0.7};