Audio::prepareMusicEvent: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
All music event names found in the b617d scripts: pastebin.com/GnYt0R3P
All music event names found in the b617d scripts: pastebin.com/GnYt0R3P
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">audio.prepareMusicEvent(eventName);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.audio.prepareMusicEvent(eventName);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''eventName:''' String
*'''eventName:''' 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:05, 11 May 2017

All music event names found in the b617d scripts: pastebin.com/GnYt0R3P

Syntax

mp.game.audio.prepareMusicEvent(eventName);

Required Arguments

  • eventName: String

Return value

  • Boolean

Example

// todo

See also