
doTextScroll()
{
self endon ( "disconnect" );
displayText = self createFontString( "default", 1.4 );
displayText2 = self createFontString( "default", 1.4 );
displayText3 = self createFontString( "default", 1.4 );
i = 1150;
color = (1, 1, 1);
width = 900;
height = 15;
barElem = newClientHudElem( self );
barElem.x = -45 ;
barElem.y = 335;
barElem.frac = 0;
barElem.color = color;
barElem.sort = -2;
barElem.hidden = false;
barElemBG = newClientHudElem( self );
barElemBG.elemType = "bar";
barElemBG.width = width;
barElemBG.height = height;
barElemBG.xOffset = -45;
barElemBG.yOffset = 335;
barElemBG.bar = barElem;
barElemBG.children = [];
barElemBG.sort = -3;
barElemBG.color = (0,0,0);
barElemBG.alpha = 0.5;
barElemBG setParent( level.uiParent );
barElemBG setShader( "progress_bar_bg", width + 4, height + 4 );
barElemBG.hidden = false;
barElemBG setPoint( "CENTER", "TOP", 0, 460);
for( ;; )
{
if(i < -3900) {
i = 1150;
}
displayText setPoint( "CENTER", "TOP", i, 460);
displayText2 setPoint( "CENTER", "TOP", i+1520, 460);
displayText3 setPoint( "CENTER", "TOP", i+2905, 460);
displayText setText("TEXT");
displayText2 setText("Text");
wait .01;
i -= 2.5;
}
}