xboxscene.org forums

Author Topic: Mainmenu Launch  (Read 45 times)

Aron Parsons

  • Archived User
  • Sr. Member
  • *
  • Posts: 299
Mainmenu Launch
« on: March 21, 2004, 08:41:00 AM »

CODE

control DEF joy Joystick
   {
       function OnADown()
       {
 if((RightTrigger == true) & (LeftTrigger == true))
 {
    QuickLaunch(theDashSettings[58],theDashSettings[59],theDashSettings[60]);
 }
 else
 {
    if (beInVis)
    {
      return;
   }
   else
   {

                PlaySoundA();

                if (nCurMainMenuItem == 0)
                {
                  theGamesMenuIn.Play();
                  LaunchMenu(theDashSettings[5], theDashSettings[9], theDashSettings[76]);
                }
                else if (nCurMainMenuItem == 1)
                {
                  theMusicMenuIn.Play();
                  LaunchMenu(theDashSettings[6], theDashSettings[10], theDashSettings[77]);
                }
                else if (nCurMainMenuItem == 2)
                {
                  theGamesMenuIn.Play();
                  LaunchMenu(theDashSettings[7], theDashSettings[11], theDashSettings[78]);
                }
                else if (nCurMainMenuItem == 3)
                {
                  theSettingsMenuIn.Play();
                  LaunchMenu(theDashSettings[8], theDashSettings[12], theDashSettings[79]);
                }
   else if (nCurMainMenuItem == 4)
               {
                   launch ("default.xbe","\\Device\\Harddisk0\\partition6\\Apps\\Xbox Media Center");
               }
    }
 }
       }
Logged