Non-blocked messages

Displays at the bottom center of the screen. This now accepts formated
(structured) text, see https://community.bistudio.com/wiki/parseText for
more info
This commit is contained in:
icomrade
2016-09-23 14:02:31 -04:00
parent c1763171db
commit e8006a40af
2 changed files with 44 additions and 4 deletions

View File

@@ -586,4 +586,35 @@ class RscTitles
};
};
};
};
class RSC_DZ_Messages {
idd = 4099999;
movingEnable = 0;
fadein = 1;
fadeout = 5;
duration = 6;
onLoad = "uinamespace setvariable ['DZ_Messages',_this select 0]";
onUnLoad = "uinamespace setvariable ['DZ_Messages',nil]";
class Controls {
class Message_Text: RscStructuredText
{
idc = 4099998;
text = "";
x = 0.3 * safezoneW + safezoneX;
y = 0.859137 * safezoneH + safezoneY;
w = 0.400445 * safezoneW;
h = 0.139148 * safezoneH;
colorText[] = {0,0,0,1};
colorBackground[] = {0,0,0,0};
sizeEx = 14 * GUI_GRID_H;
shadow = 0;
class Attributes
{
color = "#FFFFFF";
shadow = 0;
valign = "top";
align = "center";
};
};
};
};
};