Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: kent79 on October 10, 2017, 05:51:32 AM

Title: Checking game having a snap video
Post by: kent79 on October 10, 2017, 05:51:32 AM
I would like to improve Grid Pro again. Please teach me how to write a code. Thanks

Original :

case Transition.ToNewSelection:
         snap_t.visible = false;
         snap_t.video_flags = Vid.NoAudio;
break;


New :

case Transition.ToNewSelection:

         snap_t.visible = false;

                       if game having a snap video 
                             -> snap_t.video_flags = Vid.NoAudio;
                       else if
                             snap_t.video_flags = Vid.Default;
break;