Difference between revisions of "DCS func outSound"
From DCS World Wiki - Hoggitworld.com
| (One intermediate revision by the same user not shown) | |||
| Line 32: | Line 32: | ||
|examples= trigger.action.outSound('hq_ThisIsWizard.wav') | |examples= trigger.action.outSound('hq_ThisIsWizard.wav') | ||
| + | |||
| + | You can also create custom folders within the miz to store sound files. For example below has a folder named "Sounds" and plays the sound "fileName.wav" inside the Sounds folder. This can be useful to add sound files to a mission without having to add those files via triggers. | ||
| + | |||
| + | trigger.action.outSound("Sounds/fileName.wav") | ||
| + | |||
|related= | |related= | ||
[[DCS_singleton_trigger|'''Trigger Functions:''']] {{ListOfTriggerFuncs}} | [[DCS_singleton_trigger|'''Trigger Functions:''']] {{ListOfTriggerFuncs}} | ||
| Line 37: | Line 42: | ||
}} | }} | ||
[[Category:Singleton Functions|outSound]] | [[Category:Singleton Functions|outSound]] | ||
| + | [[Category:Game Patch 1.2.0|outSound]] | ||
