Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: mahuti on June 02, 2017, 07:02:38 PM

Title: [SOLVED] Screensaver Info?
Post by: mahuti on June 02, 2017, 07:02:38 PM
I'm working on a custom screensaver. I was hoping to add the play count and playtime of the displayed game, rather than the *current* game behind the screen saver. Is this possible? Looking in the docs I didn't find anything obvious, but I may be looking in the wrong docs. Any help would be greatly appreciated.
Title: Re: Screensaver Info?
Post by: mahuti on June 02, 2017, 08:25:48 PM
I figured it out.

Code: [Select]
fe.game_info(Info.PlayedTime, index_offset)
I had to get the index_offset of the movie I loaded for the background.