Author Topic: Checking game having a snap video  (Read 1734 times)

kent79

  • Hero Member
  • *****
  • Posts: 842
    • View Profile
Checking game having a snap video
« 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;