Audio::loadStreamWithStartOffset: Difference between revisions

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

Revision as of 19:54, 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

audio.loadStreamWithStartOffset(streamName, startOffset, soundSet);

Required Arguments

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

Return value

  • Boolean

Example

todo

See also

Template:Audio function c