Player::setVoiceFxGargle: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
 
Line 11: Line 11:
*'''dwRateHz:''' {{RageType|int}} 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:''' {{RageType|int}} Shape of the modulation wave... 0 = triangle, 1 = square (default).
*'''dwWaveShape:''' {{RageType|int}} Shape of the modulation wave... 0 = triangle, 1 = square (default).
==See also==
{{VoiceFx_definition_c}}


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

Latest revision as of 08:32, 10 November 2024

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).

See also