[SOLVED] Problem with Audio Level(s)

Started by C.T.C.B, Fri 03/05/2013 00:05:40

Previous topic - Next topic

C.T.C.B

Here is the Code I currently have:
[embed=425,349]
function room_Load()
{
  aCovertAffair.Play (eAudioPriorityNormal, eRepeat);
  aMenuRain.Play (eAudioPriorityNormal, eRepeat);
}
[/embed]

The Problem I am having:
They both play fine at the same time, but the Rain is overpowering the Music. I want the Rain audio to be lower than the Music, and I'm going to need the same when I add thunder audio as well. But I don't want this to effect other rooms or the game in general.

Khris

#1
Code: ags
  AudioChannel* rain = aMenuRain.Play(eAudioPriorityNormal, eRepeat);
  rain.Volume = 40;


Edit: code fixed

C.T.C.B

Quote from: Khris on Fri 03/05/2013 00:17:39
Code: ags
  Audiochannel* rain = aMenuRain.Play(eAudioPriorityNormal, eRepeat);
  rain.Volume = 40;


Failed to save room room995.crm; details below
room995.asc(5): Error (line 5): Undefined token 'Audiochannel'

Gilbert

Change Audiochannel to AudioChannel .

C.T.C.B


SMF spam blocked by CleanTalk