DCS func outSoundForCountry

From DCS World Wiki - Hoggitworld.com

Scripting Root

Envrioment: Mission Scripting
Function: outSoundForCountry Added with: 1.2.0
Member Of: trigger.action
Syntax: function trigger.action.outSoundForCountry(enum country , string soundfile )
Description: Plays a sound file to all players on the specified country. The sound file must be placed inside of the miz file in order to be played.

Return Value: function
Return Example: none
Related Functions: Trigger Functions: ctfColorTag, getUserFlag, setUserFlag, getZone, explosion, smoke, effectSmokeBig, illuminationBomb, signalFlare, radioTransmission, setUnitInternalCargo

outSound, outSoundForCoalition, outSoundForCountry, outSoundForGroup, outText, outTextForCoalition, outTextForCountry, outTextForGroup

addOtherCommand, removeOtherCommand, addOtherCommandForCoalition, removeOtherCommandForCoalition, addOtherCommandForGroup, removeOtherCommandForGroup

markToAll, markToCoalition, markToGroup, removeMark, markupToAll, lineToAll, circleToAll, rectToAll, quadToAll, textToAll, arrowToAll

setAITask, pushAITask, activateGroup, deactivateGroup, setGroupAIOn, setGroupAIOff, groupStopMoving, groupContinueMoving

Notes: Due to changes in the mission file format in 1.5 it may be needed to add 'l10n/DEFAULT/' to the string of the sound file to specify where it is located within the .miz.