DCS func outSound: Difference between revisions
From DCS World Wiki - Hoggitworld.com
m 1 revision imported |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 31: | Line 31: | ||
|optType2= | |optType2= | ||
|examples= | |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]] | |||
