Author Topic: I need help with my menu  (Read 1443 times)

UDead

  • Autococker
  • Posts: 592
I need help with my menu
« on: March 21, 2008, 09:34:55 AM »
I want to be able to stop my music that i have in my in game menu......what i would like to have it a stop butten i can click in my menu and it will stop the music so if i wanted to play a difrent song....

Heres what I have for my in game menu....

Code: [Select]
widget
    yrel 16
    halign center
    type text
    text "Music"
    command "menu music_list"

and here is what its bind too...

Code: [Select]
pb2menu 1

background menu_bg_ingame


widget
   xcent 0
   ycent -45
   halign center
   type text
   text " ˆËŽˆß͈ÏÕˆ¿Óˆ¯ÉˆŸÃˆË›ˆ¯Ìˆ¿ÉˆÏÓˆßԈˎ "

widget
   yrel 26
   halign center
   type text
   text " Soulja Boy "
   command "play sb"

widget
   yrel 16
   halign center
   type text
   text " fergie feat sean kingston "
   command "play bg"

widget
   yrel 16
   halign center
   type text
   text " Fergie Ft. Ludacris "
   command "play gl"

so can someone help me...??

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: I need help with my menu
« Reply #1 on: March 21, 2008, 09:48:38 AM »
I did the same thing with a menu recently, main menu background noises.

Make a button and give it the command "snd_restart". Note this will kill all sounds playing.

UDead

  • Autococker
  • Posts: 592
Re: I need help with my menu
« Reply #2 on: March 21, 2008, 09:56:39 AM »
ok...thx....now will the stander sound still work...like flag and stuff??

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: I need help with my menu
« Reply #3 on: March 21, 2008, 10:06:48 AM »
Yes, but if they are playing when you click the button they will stop too.

UDead

  • Autococker
  • Posts: 592
Re: I need help with my menu
« Reply #4 on: March 21, 2008, 10:13:26 AM »
ok...ill try it.....is there anything else u have that i could mess with or add.....??

i created a map....its called "Dye #2"......
« Last Edit: March 21, 2008, 11:21:02 AM by UDead »