Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: wanou on January 20, 2021, 09:42:20 AM

Title: How I can know where I am (System menu or Games menu)
Post by: wanou on January 20, 2021, 09:42:20 AM
I wish display on System menu -> "System : [ListEntry]-[ListSize]"
ond on games menu -> "Games : [ListEntry]-[ListSize]"

I have try several way like this:

local libelle_systemes_jeux="[Emulator]";
if ( libelle_systemes_jeux == null ) { libelle_systemes_jeux = "System";} else { libelle_systemes_jeux = "Games";}
local filter = fe.add_text( libelle_systemes_jeux  + " : [ListEntry]/[ListSize]   ", flx*0.7, fly*0.962, flw*0.3, flh*0.022 );

If you know a working method your are welcome ;)