Call of Duty Script Documentation

# setreverb(<priority>, <room type>, <dry level>, <wet level>, <fade time> )

## Module

    Player

## Summary

    Set the sound reverberation for the player

## Call this function on

    The player

## Example

    level.player setReverb("snd_enveffectsprio_level", "stoneroom", 1, .7, 3);

## Minimum Number of arguments: 2

    1 : <priority>: Valid priorities are "snd_enveffectsprio_level", or "snd_enveffectsprio_shellshock".
    2 : <room type>: string describing the type of reverb.

## Number of optional arguments: 3

    1 : <dry level>: a float from 0 (no source sound) to 1 (full source sound)
    2 : <wet level>: a float from 0 (no effect) to 1 (full effect)
    3 : <fade time>: in seconds and modifies drylevel and wetlevel.

Return to Function List