vbawol/DayZ-Epoch — pull request #1411 by hogscraper (2014-07-10 20:51:49+00:00)
Title: Additional update to UI

Changed routines so that all icons flash at the same time. Instead of
making several individual calls to player_guiControlFlash any icon that
needs to have flashing turned on is added to an array and then, as long
as that array is not empty, it is passed to the function. The function
was changed to deal with an array and whichever item is array select 0
has its show state determine what all the others should be. If its on,
then all others in array are turned off with it. This will sync all flashing icons.
Also, added a fix for _bloodVal. With current red/green icon set, if the
player has less than 3000 blood the value rounds down to 1
_bloodLvl =1.5= round((3000/ 2) / 1000);
so that status_blood_inside_1_ca.paa is used, (which is an empty picture). This
means the old line
if (_bloodVal < 0.2) then {
passes along an empty picture to flash. I changed this value to .4 so
that between 3000 and 5000 blood, it still uses that last sliver picture
but that one now flashes to alert player to lower blood levels.