Player::setVoiceFxGargle: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "==Syntax== <pre> player.setVoiceFxGargle(fxHandle, { dwRateHz, dwWaveShape }); </pre> ===Required Arguments=== *'''fxHandle:''' The effect handle. *'''dwRateHz:''' R...")
 
No edit summary
Line 8: Line 8:
   
   
===Required Arguments===
===Required Arguments===
*'''fxHandle:''' The effect handle.
*'''fxHandle:''' {{RageType|int}} The effect handle.
*'''dwRateHz:''' Rate of modulation, in Hertz. Must be in the range from 1 through 1000. Default 500 Hz.
*'''dwRateHz:''' {{RageType|int}} Rate of modulation, in Hertz. Must be in the range from 1 through 1000. Default 500 Hz.
*'''dwWaveShape:''' Shape of the modulation wave... 0 = triangle, 1 = square (default).
*'''dwWaveShape:''' {{RageType|int}} Shape of the modulation wave... 0 = triangle, 1 = square (default).


[[Category:Clientside API]]
[[Category:Clientside API]]

Revision as of 18:36, 17 October 2022

Syntax

player.setVoiceFxGargle(fxHandle, {
    dwRateHz,
    dwWaveShape
});

Required Arguments

  • fxHandle: int The effect handle.
  • dwRateHz: int Rate of modulation, in Hertz. Must be in the range from 1 through 1000. Default 500 Hz.
  • dwWaveShape: int Shape of the modulation wave... 0 = triangle, 1 = square (default).