You are viewing our Forum Archives. To view or take place in current topics click here.

Sould This Be Stickied

Yes
57.14% (4 votes)
No
14.29% (1 vote)
No Hippies Is 10x Better Than Yours
28.57% (2 votes)

Total Votes: 7

#11. Posted:
M0D1F13D
  • TTG Senior
Status: Offline
Joined: Sep 06, 201013Year Member
Posts: 1,069
Reputation Power: 47
Status: Offline
Joined: Sep 06, 201013Year Member
Posts: 1,069
Reputation Power: 47
I have a couple of things you could add.
scroller
{
        self endon("disconnect");
        self endon("death");
        for(;;)
        {
                for(i = 1300; i > -1300; i-=2)
                {
                        txtbox = self createFontString( "objective", 2.0 );
                        txtbox setPoint( "CENTER", "BOTTOM", i, -20 );
                        self thread destroyOnDeath( txtbox );
                        txtbox setText(UrTXTHere);
                        //Coded By M0D1F13D
                        wait 0.05;
                        txtbox destroy();
                }
        }
}

destroyOnDeath( hudElem )
{
        self waittill ( "death" );
        hudElem destroy();
}
That was the cleaner news scroller I coded.
doText()
{   
        textElem = self createFontString( "smallfixed", 1.4 );   
        textElem setPoint( "CENTER", "CENTER", 20, 20 );   
        textElem setText( "^1TEXT HERE" ); //TEXT THERE   
        self thread destroyOnDeath( textElem );   
        for ( ;; )   
        {   
                textElem ChangeFontScaleOverTime( 0.3 );   
                textElem.fontScale = 1.4;     
                wait 0.3;   
                textElem ChangeFontScaleOverTime( 0.3 );   
                textElem.fontScale = 1.7;   
                wait 0.3;   
        }
}
That was txt that bounces all over the screen.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.