Audio::setMicrophonePosition: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
If this is the correct name, what microphone? I know your TV isn't going to reach out and adjust your headset so..
 
{{ClientsideJsFunction}}
{{JSContainer|
 
===Required Params===
*'''p0:''' {{RageType|boolean}}
*'''x1:''' {{RageType|number}}
*'''y1:''' {{RageType|number}}
*'''z1:''' {{RageType|number}}
*'''x2:''' {{RageType|number}}
*'''y2:''' {{RageType|number}}
*'''z2:''' {{RageType|number}}
*'''x3:''' {{RageType|number}}
*'''y3:''' {{RageType|number}}
*'''z3:''' {{RageType|number}}
 
===Return value===
*''' {{RageType|void}} '''
 
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">audio.setMicrophonePosition(p0, x1, y1, z1, x2, y2, z2, x3, y3, z3);</syntaxhighlight>
<syntaxhighlight lang="javascript">
=== Required Arguments ===
mp.game.audio.setMicrophonePosition(p0, x1, y1, z1, x2, y2, z2, x3, y3, z3)
*'''p0:''' Boolean
</syntaxhighlight>
*'''x1:''' float
 
*'''y1:''' float
*'''z1:''' float
*'''x2:''' float
*'''y2:''' float
*'''z2:''' float
*'''x3:''' float
*'''y3:''' float
*'''z3:''' float
===Return value===
*'''Undefined'''
==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:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 10:55, 13 August 2024

Client-Side
Function

 JavaScript



JavaScript Syntax


Required Params

  • p0: boolean
  • x1: number
  • y1: number
  • z1: number
  • x2: number
  • y2: number
  • z2: number
  • x3: number
  • y3: number
  • z3: number

Return value

  • void

Syntax

mp.game.audio.setMicrophonePosition(p0, x1, y1, z1, x2, y2, z2, x3, y3, z3)

Example

//todo


See also