Audio::startAudioScene: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
 
(3 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==Syntax==<syntaxhighlight lang="javascript">audio.startAudioScene(sceneName);</syntaxhighlight>=== Required Arguments ===*'''sceneName:''' String===Return value===*'''Boolean'''==Example==<syntaxhighlight lang="javascript">todo</syntaxhighlight>==See also=={{Audio_function_c}}[[Category:Clientside API]][[Category:TODO: Example]]
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==
<syntaxhighlight lang="javascript">mp.game.audio.startAudioScene(sceneName);</syntaxhighlight>
=== Required Arguments ===
*'''sceneName:''' String
===Return value===
*'''Boolean'''
==Example==
<syntaxhighlight lang="javascript">
// todo
</syntaxhighlight>
==See also==
{{Audio_s_function_c}}
[[Category:Clientside API]]
[[Category:Audio API]]
[[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