01-04-2013, 02:43
(This post was last modified: 01-04-2013, 06:31 by DidUknowiPwn.)
Well something like that, I just want to understand on how to figure out an easy way to thread a display icon.
I'm using that piece to display a text on kills which works properly no problems at all. Only question I have is I need to display an icon about 15 y above it, but I can't figure out how to easily do it.
All help would be appreciated.
Code:
StreakText( text, color, glow )
{
self.StreakText = self createFontString( "hudbig", 4 );
self.StreakText setPoint( "TOPMIDDLE", "TOPMIDDLE", 0, 80);
self.StreakText.color = color;
self.StreakText setText(text);
self.StreakText.alpha = 0;
self.StreakText.glowColor = glow;
self.StreakText.glowAlpha = 1;
self.StreakText ChangeFontScaleOverTime( 0.2 );
self.StreakText fadeOverTime( 0.2 );
self.StreakText.alpha = 1;
self.StreakText.fontScale = 1;
wait 4;
self.StreakText fadeOverTime( 0.2 );
self.StreakText.alpha = 0;
wait 0.2;
self.StreakText destroy();
}
All help would be appreciated.
Do not take life too seriously. You will never get out of it alive.