More or less ripped from the "armory"...
Code:
class RscActiveText
{
access = 0;
type = 11;
style = 2;
color[] = { 0, 0, 0, 1 };
colorActive[] = { 0.3, 0.4, 0, 1 };
soundEnter[] = { "", 0.1, 1 };
soundPush[] = { "", 0.1, 1 };
soundClick[] = { "", 0.1, 1 };
soundEscape[] = { "", 0.1, 1 };
text = "";
default = 0;
idc = -1;
x = 0;
y = 0;
h = 0.035;
w = 0.035;
font = "Zeppelin32";
sizeEx = 0.03921;
colortext[] = { 0, 0, 0, 1 };
};
class Test
{
idd = -1;
class Controls {
class foo : RscActiveText {
idc = -1;
style = 48;
x = -1;
y = -1;
w = 3;
h = 1.9;
text = "#(argb,8,8,3)color(1,1,1,1)";
color[] = {0, 0, 0, 0};
colorActive[] = {0, 0, 0, 0};
onMouseMoving = "hintSilent format ['%1\n%2',_this select 1, _this select 2];";
};
};
};
HTH