Call of Duty Script Documentation

# setchannelvolumes(<priority>, <shock name>, <fade time> )

## Module

    Player

## Summary

    Set the channel volumes for the player (a way of fading volumes by type)

## Call this function on

    The player

## Example

    level.player setchannelvolumes("snd_channelvolprio_pain", "pain", 1, .7, 3);

## Minimum Number of arguments: 2

    1 : <priority>: Valid priorities are "snd_channelvolprio_holdbreath", "snd_channelvolprio_pain", or "snd_channelvolprio_shellshock".
    2 : <shock name>: string describing the name of the .shock file w/ the channel volumes values to use.

## Number of optional arguments: 1

    1 : <fade time>: in seconds.

Return to Function List