Audio::startAudioScene: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
(yay)
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

Revision as of 21:03, 6 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