Audio::startAudioScene: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
No edit summary
 
(One intermediate revision 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 13: Line 13:
{{Audio_s_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