Audio::loadStreamWithStartOffset: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Example:<br>AUDIO::LOAD_STREAM_WITH_START_OFFSET('STASH_TOXIN_STREAM', 2400, 'FBI_05_SOUNDS');<br><br>Only called a few times in the scripts. ==Syntax==<syntaxhighlight lang="javascript">audio.loadStreamWithStartOffset(streamName, startOffset, soundSet);</syntaxhighlight>=== Required Arguments ===*'''streamName:''' String*'''startOffset:''' int*'''soundSet:''' String===Return value===*'''Boolean'''==Example==<syntaxhighlight lang="javascript">todo</syntaxhighlight>==See also=={{Audio_function_c}}[[Category:Clientside API]][[Category:TODO: Example]]
Example:<br>AUDIO::LOAD_STREAM_WITH_START_OFFSET('STASH_TOXIN_STREAM', 2400, 'FBI_05_SOUNDS');<br><br>Only called a few times in the scripts.  
==Syntax==
<syntaxhighlight lang="javascript">mp.game.audio.loadStreamWithStartOffset(streamName, startOffset, soundSet);</syntaxhighlight>
=== Required Arguments ===
*'''streamName:''' String
*'''startOffset:''' int
*'''soundSet:''' String
===Return value===
*'''Boolean'''
==Example==
<syntaxhighlight lang="javascript">
// todo
</syntaxhighlight>
==See also==
{{Audio_s_function_c}}
[[Category:Clientside API]]
[[Category:TODO: Example]]

Latest revision as of 21:04, 6 May 2017

Example:
AUDIO::LOAD_STREAM_WITH_START_OFFSET('STASH_TOXIN_STREAM', 2400, 'FBI_05_SOUNDS');

Only called a few times in the scripts.

Syntax

mp.game.audio.loadStreamWithStartOffset(streamName, startOffset, soundSet);

Required Arguments

  • streamName: String
  • startOffset: int
  • soundSet: String

Return value

  • Boolean

Example

// todo

See also