Cam::setGameplayCamShakeAmplitude

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Sets the amplitude for the gameplay (i.e. 3rd or 1st) camera to shake. Used in script 'drunk_controller.ysc.c4' to simulate making the player drunk.

- Shawn

Syntax

mp.game.cam.setGameplayCamShakeAmplitude(amplitude);

Required Arguments

  • amplitude: float

Return value

  • Undefined

Example

// todo

See also

Template:Cam s function c