er2.playClipOnRadio3D 72
Play a 3D Audio Clip, coming from a specific location and with a maximum hear distance 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 | vec3 | Origin of the sound. Range can't be edited but is approximatly the range of a WW2 radio speaker. |
3 | 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 |
4 | float | (Optional) Delay in seconds before playing the clip. Default is 0 |
Examples
No examples available.