Перейти к содержанию

Cam::setCamEffect

Материал из RAGE MP Wiki Archive

if p0 is 0, effect is cancelled

if p0 is 1, effect zooms in, gradually tilts cam clockwise apx 30 degrees, wobbles slowly. Motion blur is active until cancelled.

if p0 is 2, effect immediately tilts cam clockwise apx 30 degrees, begins to wobble slowly, then gradually tilts cam back to normal. The wobbling will continue until the effect is cancelled.

Syntax

<syntaxhighlight lang="javascript">mp.game.cam.setCamEffect(p0);</syntaxhighlight>

Required Arguments

  • p0: int

Return value

  • Undefined

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also

Шаблон:Cam s function c