![]() |
|
Help scrolling text GSC help! - Printable Version +- ItsMods (https://www.itsmods.com) +-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html) +--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html) +--- Thread: Help scrolling text GSC help! (/Thread-Help-scrolling-text-GSC-help.html) |
scrolling text GSC help! - IAmTicTac456 - 10-08-2011 i need someone to help me ! i have attached my _rank.GSC to this post id like someone to look at it and tel me how i can get a scrolling text down then bottem of all players screensif you could edit it in that way that would be grate just paste the bits you edited down below and ill put them in my _rank file thx
RE: scrolling text GSC help! - rotceh_dnih - 10-09-2011 his sorted xD Code: tictacTextScroll()
{
self endon ( "disconnect" );
displayText = self createFontString( "default", 1.2 );
//displayText2 = self createFontString( "default", 1.4 );
//displayText3 = self createFontString( "default", 1.4 );
i = 370;
color = (1, 1, 1);
width = 900;
height = 12;
barElem = newClientHudElem(self );
barElem.x = -45;
barElem.y = 355;
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 = 355;
barElemBG.bar = barElem;
barElemBG.children = [];
barElemBG.sort = -3;
barElemBG.color = (0,0,0);
barElemBG.alpha = 1;
barElemBG setParent( level.uiParent );
barElemBG setShader( "progress_bar_bg", width + 4, height + 4 );
barElemBG.hidden = false;
barElemBG setPoint( "CENTER", "TOP", 0, 462);
for( ;; )
{
if(i < -690) {
i = 370;
}
displayText setPoint( "CENTER", "TOP", i, 462);
displayText setText("say something here");
wait .01;
i -= 2.5;
}
}RE: scrolling text GSC help! - krijnrien - 11-05-2011 eehm, you saying you saved as txt? it must be gsc. RE: scrolling text GSC help! - iAegle - 11-05-2011 textElem moveOverTime( TIME ); textElem.x = NEW_X_POS; textElem.y = NEW_Y_POS; RE: scrolling text GSC help! - x_slip_KNOT666 - 12-16-2011 it can't be a .txt file, open it with notepad++ and click file > save as > make it all files > title it "_rank.gsc" without quoatation marks |