Soldier.sayClip 111

Play a 3D Audio Clip, coming from soldier mouth and with soldier speaking animation (.wav)


Return value

Return TypeDescription
voidThis function doesn't return anything

Parameters

ParameterTypeDescription
1stringFile 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/)
2bool(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

Examples

No examples available.


Back to Scripting API