Call of Duty Script Documentation

# ambientplay(<ambient>,<fadetime>)

## Module

    Sound

## Summary

    Play the given piece of ambient sound.

## Example

     ambientplay("redsquare_dark");

## Minimum Number of arguments: 1

    1 : <ambient> Sound alias name. Must be a valid sound alias

## Number of optional arguments: 1

    1 : <fadetime> Fade in time in seconds. If not used then the track will start immediately

Return to Function List