color changing text
whats the easiest way to make text that flashes in different colors?
OK this works, nevermind.
int &john = 0;
int &scrap;
loop:
sp_kill(&scrap,1);
&scrap = say_xy("`&john BANANAS SUCK!!",16,100);
sp_kill(&scrap,0);
&john += 1;
if (&john > 9)
{
&john = 0;
}
wait(100);
goto loop;
int &john = 0;
int &scrap;
loop:
sp_kill(&scrap,1);
&scrap = say_xy("`&john BANANAS SUCK!!",16,100);
sp_kill(&scrap,0);
&john += 1;
if (&john > 9)
{
&john = 0;
}
wait(100);
goto loop;
I'd rather do it with randoms, so that colours like white can be used too.
Then again, I'm not you.
Then again, I'm not you.

May 17th 2004, 03:45 AM

Happy-Lurker


Just use a variable that holds an random value. Then use a couple of if-statements:
if (&random < 10)
{
say_stop("`&random Hello", 1)
} else
{
if (&random = 10)
{
say_stop("`%Hello", 1)
{ else
{
}
}
and go on and on and on
if (&random < 10)
{
say_stop("`&random Hello", 1)
} else
{
if (&random = 10)
{
say_stop("`%Hello", 1)
{ else
{
}
}
and go on and on and on
what is the point with it?
with random is a lot of typing work...
can't you make an array with all the possible functions then use count for the number of entries in the array and use a loop like
say("`&arr[%i] hi!", 1);
can't you make an array with all the possible functions then use count for the number of entries in the array and use a loop like
say("`&arr[%i] hi!", 1);
i understood that!! DOH