Audio::setVariableOnSound: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Syntax==<syntaxhighlight lang="javascript">audio.setVariableOnSound(soundId, p1, p2);</syntaxhighlight>=== Required Arguments ===*'''soundId:''' int*'''p1:''' unknown (to be checked)*'''p2:''' float===Return value===*'''Undefined'''==Example==<syntaxhighlight lang="javascript">todo</syntaxhighlight>==See also=={{Audio_function_c}}[[Category:Clientside API]][[Category:TODO: Example]]
 
==Syntax==
<syntaxhighlight lang="javascript">mp.game.audio.setVariableOnSound(soundId, p1, p2);</syntaxhighlight>
=== Required Arguments ===
*'''soundId:''' int
*'''p1:''' unknown (to be checked)
*'''p2:''' float
===Return value===
*'''Undefined'''
==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

Syntax

mp.game.audio.setVariableOnSound(soundId, p1, p2);

Required Arguments

  • soundId: int
  • p1: unknown (to be checked)
  • p2: float

Return value

  • Undefined

Example

// todo

See also