Audio::startAudioScene: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
Used to prepare a scene where the surrounding sound is muted or a bit changed. This does not play any sound.<br><br>List of all usable scene names found in b617d. Sorted alphabetically and identical names removed: pastebin.com/MtM9N9CC
Used to prepare a scene where the surrounding sound is muted or a bit changed. This does not play any sound.<br><br>List of all usable scene names found in b617d. Sorted alphabetically and identical names removed: pastebin.com/MtM9N9CC
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">audio.startAudioScene(sceneName);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.audio.startAudioScene(sceneName);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''sceneName:''' String
*'''sceneName:''' String
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Audio_function_c}}
{{Audio_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:Audio API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:03, 11 May 2017

Used to prepare a scene where the surrounding sound is muted or a bit changed. This does not play any sound.

List of all usable scene names found in b617d. Sorted alphabetically and identical names removed: pastebin.com/MtM9N9CC

Syntax

mp.game.audio.startAudioScene(sceneName);

Required Arguments

  • sceneName: String

Return value

  • Boolean

Example

// todo

See also