er2.playClipOnRadio 39
Play a global Audio Clip with a radio distortion effect (.wav)
Return value
Return Type | Description |
---|---|
void | this function doesn't return anything |
Parameters
Parameter | Type | Description |
---|---|---|
1 | string | File name and extension of the clip to play. Currently only .wav files are supported. File must be placed inside a folder called "sounds" inside your mission folder (C://..../yourmission/sounds/) |
2 | bool | (Optional) Set to true if you want the clip to be played on all clients. False if you want it to be played on the client executing the script only. Default is True |
3 | float | (Optional) Delay in seconds before playing the clip. Default is 0 |
Examples
No examples available.