Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Easiest Way To Thread a Display Icon?
#1
Well something like that, I just want to understand on how to figure out an easy way to thread a display icon.
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();
}
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.
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
Reply

#2
Code:
NEWTEXT setPoint( "TOPMIDDLE", "TOPMIDDLE", 0, self.StreakText.y + 15);
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Thread removed [HARD] Tony. 4 3,866 10-01-2013, 17:53
Last Post: DidUknowiPwn
  Help Thread removed [HARD] Tony. 5 3,989 09-26-2013, 20:26
Last Post: Casper
  Thread removed [HARD] Tony. 3 2,973 09-22-2013, 16:23
Last Post: d0h!
  Thread removed [HARD] Tony. 2 2,598 09-20-2013, 18:03
Last Post: [HARD] Tony.
  Thread removed [HARD] Tony. 3 3,078 09-20-2013, 16:00
Last Post: Nekochan
  Help Official Teckno Gods Thread [Stickied] aceed 3 3,286 08-27-2013, 16:55
Last Post: SuperNovaAO
  Help My Server Doesn't Display DarkyPwnz 2 2,838 06-16-2013, 17:25
Last Post: DarkyPwnz
  Help Icon/point on radar 8q4s8 2 2,806 05-06-2013, 16:49
Last Post: 8q4s8
Photo Help color blue(display) [HARD] Tony. 2 2,606 04-06-2013, 14:16
Last Post: Nekochan
  Plugin request: Little Icon (defend,protect,plant) igp_gio 5 4,093 11-05-2012, 13:54
Last Post: raminr63

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.