1
Scripting / Game count
« on: April 08, 2024, 03:15:23 AM »
I do i show the games count for example 1/10 in the layout.nut With color, font, and size? All right i figured it out.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Ahh.. Now I feel great again...Thanks for your help!
Was not able to get it to work, I will try again in a week I to go out of town.Code: [Select]local last_nav = 0;
local gtime = 0;
local art_flag = false;
local artwork = fe.add_artwork("boxart", 15, 34, 661, 1018)
fe.add_transition_callback( "my_transition" );
function my_transition( ttype, var, ttime )
{
if ( ttype == Transition.ToNewSelection )
{
last_nav = gtime;
art_flag = true;
}
}
fe.add_ticks_callback( this, "on_tick" );
function on_tick( ttime )
{
gtime = ttime;
if (art_flag && (ttime - last_nav > 3000))
{
artwork.file_name = fe.get_art("boxart");
art_flag = true;
}
}
somthing like this should work for ya bud
now i feel like a dick, lol sorry no problem...homiDon't feel that way it's ok!
Why ask questions if you don't intend to reply...... Some of you guys Realy amaz me.... Bro...Sorry for no reply, I have been at the hospital with my wife as she had a emergency surgery. I have been spending all of my time with her, but the worst of it is over now. Thank you for your help and I will let you know if it worked when I get home today or tomorrow.