Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
draw damage
#11
after 4 hours of pain i still havent got any idea to fix it yamato help me Tongue
Reply

#12
(06-21-2014, 21:20)26hz Wrote: after 4 hours of pain i still havent got any idea to fix it yamato help me Tongue

I think this could do the fix Smile

Code:
YOURTEXT( value )
{
    if( ! isdefined( self.roundimage ) )
        self.roundimage = [];
    i = self.roundimage.size;
    self.roundimage[i] = self createFontString( "default", 1.7, self );
    self.roundimage[i] setPoint( "", "", randomIntRange( -100, 100 ), randomIntRange( -100, 100 ) );
    self.roundimage[i] setValue( value );
    self.roundimage[i].color = ( 1, 1, 1 );
    self.roundimage[i].sort = 15;
    self.roundimage[i].alpha = 1;
    self.roundimage[i].foreground = true;
    self.roundimage[i].glowcolor = ( 0, 1, 0 );
    self.roundimage[i].glowalpha = 1;
    self.roundimage[i] setParent( level.uiParent );
    self.roundimage[i].hideWhenInMenu = false;
    self.roundimage[i].archived = false;
    self thread KillOnDeath( self.roundimage[i] )
    wait 0.5;
    if( isdefined( self.roundimage[i] ) )
        self.roundimage[i] destroy();
}

KillonDeath( elem )
{
    self waittill_any( "disconnect", "death", "spawned_player" );    
    if( isdefined( elem ) )
        elem destroy();
}
Reply

#13
(06-22-2014, 12:42)Yamato Wrote:
(06-21-2014, 21:20)26hz Wrote: after 4 hours of pain i still havent got any idea to fix it yamato help me Tongue

I think this could do the fix Smile

Code:
YOURTEXT( value )
{
    if( ! isdefined( self.roundimage ) )
        self.roundimage = [];
    i = self.roundimage.size;
    self.roundimage[i] = self createFontString( "default", 1.7, self );
    self.roundimage[i] setPoint( "", "", randomIntRange( -100, 100 ), randomIntRange( -100, 100 ) );
    self.roundimage[i] setValue( value );
    self.roundimage[i].color = ( 1, 1, 1 );
    self.roundimage[i].sort = 15;
    self.roundimage[i].alpha = 1;
    self.roundimage[i].foreground = true;
    self.roundimage[i].glowcolor = ( 0, 1, 0 );
    self.roundimage[i].glowalpha = 1;
    self.roundimage[i] setParent( level.uiParent );
    self.roundimage[i].hideWhenInMenu = false;
    self.roundimage[i].archived = false;
    self thread KillOnDeath( self.roundimage[i] )
    wait 0.5;
    if( isdefined( self.roundimage[i] ) )
        self.roundimage[i] destroy();
}

KillonDeath( elem )
{
    self waittill_any( "disconnect", "death", "spawned_player" );    
    if( isdefined( elem ) )
        elem destroy();
}

Thanks! You are the best !Big GrinD
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Changing hitbox's position / model damage? Cation 21 11,508 09-12-2014, 16:24
Last Post: Cation
Question Help How to draw a line in cod6 map xinghun 7 4,142 08-20-2014, 16:06
Last Post: xinghun

Forum Jump:


Users browsing this thread:
1 Guest(s)

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