Difference between revisions of "DCS func outSound"
From DCS World Wiki - Hoggitworld.com
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}} |