Currently, i'm facing a major problem that I wasn't able to solve for quite a while now.
Here's the problem:
Code: Select all
script "talking" (void)
{
str Quotes[4];
Quotes[0] = "Quote 1."; // SMALLFONT
Quotes[1] = "Quote 2 !"; // SMALLFONT
Quotes[2] = "Quote... 3 ?"; // SMALLFONT
Quotes[3] = "QUOTE 4 !"; // BIGFONT
Delay(35);
SetFont("SMALLFONT"); << I wanna change the font depending on the quote said
HudMessageBold(s:Quotes[random(0, 3)]; HUDMSG_TYPEON|HUDMSG_LOG, 0, CR_WHITE, 200.0, 500.0, 3.0, 0.01, 0.2);
}
Maybe I didn't do the script right, or i'm not seeing something obvious, but i'm still lost.
Thank you very much if you can help me out with this !