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.  
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==
==Syntax==
<syntaxhighlight lang="javascript">audio.loadStreamWithStartOffset(streamName, startOffset, soundSet);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.audio.loadStreamWithStartOffset(streamName, startOffset, soundSet);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''streamName:''' String
*'''streamName:''' String

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