ItsMods

Full Version: draw damage
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
after 4 hours of pain i still havent got any idea to fix it yamato help me Tongue
(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();
}
(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
Pages: 1 2