• 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);
[Image: veovuq.png]
[-] The following 1 user says Thank You to Yamato for this post:
  • DidUknowiPwn
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Thread removed [HARD] Tony. 4 1,360 10-01-2013, 17:53
Last Post: DidUknowiPwn
  Help Thread removed [HARD] Tony. 5 1,459 09-26-2013, 20:26
Last Post: Casper
  Thread removed [HARD] Tony. 3 1,016 09-22-2013, 16:23
Last Post: d0h!²
  Thread removed [HARD] Tony. 2 921 09-20-2013, 18:03
Last Post: [HARD] Tony.
  Thread removed [HARD] Tony. 3 1,150 09-20-2013, 16:00
Last Post: Nekochan
  Help Official Teckno Gods Thread [Stickied] aceed 3 1,316 08-27-2013, 16:55
Last Post: SuperNovaAO
  Help My Server Doesn't Display DarkyPwnz 2 1,113 06-16-2013, 17:25
Last Post: DarkyPwnz
  Help Icon/point on radar 8q4s8 2 1,153 05-06-2013, 16:49
Last Post: 8q4s8
Photo Help color blue(display) [HARD] Tony. 2 1,139 04-06-2013, 14:16
Last Post: Nekochan
  Plugin request: Little Icon (defend,protect,plant) igp_gio 5 1,596 11-05-2012, 13:54
Last Post: raminr63

Forum Jump:


Users browsing this thread: 1 Guest(s)