I used your hoz_countdowntimer as a means of learning, actually. Here's what "works" but shows an interactive dialog:
_dialog = createDialog "HMM_TEST_HUD";
And here's what doesn't (Resource "HMM_TEST_HUD" not found):
titleRsc ["HMM_TEST_HUD", "PLAIN"];
waitUntil {!isNull (uiNameSpace getVariable "HMM_TEST_HUD")};
And here's my .h file (derived mosty from your own .h):
class HMM_TEST_HUD
{
idd = 650;
movingEnable = 0;
duration = 99999;
fadein = 2;
fadeout = 2;
name = "HMM_TEST_HUD";
onLoad = "with uiNameSpace do { HMM_TEST_HUD = _this select 0 }";
class controls
{
class HMM_TEST_HUD_Text
{
idc = 660;
type = 13;
access = 0;
style = 2 + 16;
colorBackground[] = {0, 0, 0, 0};
colorText[] = {1, 1, 1, 1};
font = "Bitstream";
sizeEx = 0.02;
x = 0.488;
y = 0.4;
w = 0.2;
h = 0.1;
text = "";
size = 0.05;
class Attributes
{
font = "Bitstream";
color = "#ffffff";
align = "left";
shadow = true;
};
};
};
};
Any ideas would be welcomed
I'm using the following in my Description.ext:
#include "fps_dialog.h"