ANet Chat

Posted By: xDoug

ANet Chat - 09/13/09 19:12

Hello Everyone,

I have a quick question about how to increase the size of a text?
I did the following
TEXT* text_example =
}
font = "Arial#24bi";
}

However that is not working.

Thanks in advance,

Doug
Posted By: Fisch

Re: ANet Chat - 09/14/09 08:34

Try the following:

Click to reveal..

FONT* arial_font = "arial#24b";
...
TEXT* text_example =
{
...
digits = -150,-10,"This is your example text!",arial_font,0,0;
...
}


Posted By: xDoug

Re: ANet Chat - 09/14/09 16:58

Okay I can try that. The only reason why I didn't do digits, it's because the position of the text is relative to the position of the player. So if the player is walking, the text would still show above his head.
Posted By: Hand_Of_Law

Re: ANet Chat - 09/14/09 17:33

As you are changing the Anet 3D chat (I presume) try to add:
name_text.font = arial_font;

(Not tested)
Posted By: xDoug

Re: ANet Chat - 09/14/09 17:35

Yeap I already tried that. Its not working
Posted By: Anonymous

Re: ANet Chat - 09/16/09 19:31

FONT* arialFont = "Arial#24bi";
FONT* arialFontBig = "Arial#30bi";

TEXT* test =
{
pos_x = 5;
pos_y = 5;
strings = ("Test");
font = arialFont;
}

and in you function

test.font = arialFontBig;
© 2024 lite-C Forums