Hello!
Last time I had an issue the BI community came to my aid, and I know how useful these forums are for everyone else, so here goes...
I'm displaying a money variable for the player by using an RscTitle in the top left of the screen - that's all good. The problem is I'm not sure how to go about displaying a variable in that RscTitle that updates so that the amount of "money" the player has is displayed at all times.
Here's my description.ext:
class RscTitles
{
class CashDisplayTitle
{
idd = -1;
duration = 1e+1000;
class controls
{
class CashDisplayControl
{
idc = -1;
type = 0;
style = 0;
x = safeZoneXAbs;
y = safeZoneY - 0.45;
w = 1;
h = 1;
font = "EtelkaNarrowMediumPro";
sizeEx = 0.05;
colorBackground[] = {0,0,0,0};
colorText[] = {0,0.6,0,1};
text = "$";
};
};
};
};
So I've got 2 minor obstacles - how can I display the cashVariable in my CashDisplayControl, and how can I set up a script which updates that value?
If you've got any pointers / links, I'd very much appreciate it! (I have read around, but the examples I've found are very case specific and get a little convoluted)
Thanks for reading and for being an outstanding community!