AmbientSoundSetDayVolume(object, int)

Change the volume of the ambient daytime soundtrack in an area.

void AmbientSoundSetDayVolume(
    object oArea,
    int nVolume
);

Parameters

oArea

The area to change.

nVolume

0 - 100


Description

Set the ambient day volume for oArea to nVolume.



Remarks

See AmbientSoundChangeDay for an example.

Note that this does not effect any change on the 'Sound effects' slider in a Client's options. This is relative to other server-side sound volumes, and is itself affected by the client's sound volume settings


Version

1.22

Example

// See AmbientSoundChangeDay for an example

See Also

functions: AmbientSoundChangeDay | AmbientSoundChangeNight | AmbientSoundPlay | AmbientSoundSetNightVolume | AmbientSoundStop
categories: Area Functions | Sound Effects Functions


 author: Iskander Merriman