News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: change music during fight? like in mission.  (Read 1576 times)

0 Members and 1 Guest are viewing this topic.

Offline embas10

  • Jr. Member
  • **
  • Posts: 27
  • Gender: Male
    • View Profile
change music during fight? like in mission.
« on: July 30, 2014, 06:04:57 AM »
can someone tell me how to change music like on mission in lua?
during normal time (not during fight) the music is low.rsm ,and if during fight the music change to high.rsm .

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: change music during fight? like in mission.
« Reply #1 on: July 30, 2014, 07:21:27 AM »
Pretty sure they are these functions: SoundSetHighIntensityStream() & SoundSetMidIntensityStream()

Offline embas10

  • Jr. Member
  • **
  • Posts: 27
  • Gender: Male
    • View Profile
Re: change music during fight? like in mission.
« Reply #2 on: July 30, 2014, 08:21:58 AM »
can you say the full code please??

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: change music during fight? like in mission.
« Reply #3 on: July 31, 2014, 07:52:17 AM »
I'm not sure but try this:

SoundSetHighIntensityStream("Gobble.rsm",100)