• Dear visitors,

    The email issue has been finally solved.
    Thank you for your patience and happy browsing.

    Team ACM.

Is there a way to tell if we are in the menu or driving?

MrRalphMan

New Member
Hi All,

Just a quick question, is there a way to know if AC is in the menu or in the car.
I have an app that needs to only run when not in menu.

I've tried sm.graphics.status, but this loads in as active, even when you are in menu.
isInPit, doesn't work as for hotlaps, you start on track.

Can't seem to see anything else that might work.

Thanks,
Paul
 

MrRalphMan

New Member
This doesn't work in the PITs, only if you hit escape while in car.

Just tested and loaded into the track.. You are in the menu, where you can goto the timing or setup page.
This is a status of 2
Click the top icon to get into car and it's still a status of 2.
Hit Esc to get the menu where you can skip session or exit and it then moves to 3.

I think in the lua side of things there might be a way, as they has an option of isInMainMenu, but haven't tried that as yet.

Paul
 

fughettaboutit

aka leBluem aka Please Stop This
yes, lua has way more functionality, i guess you should really consider using that
 
Top