No categories assigned

LUA:PerformCameraShake

Revision as of 18:15, 1 February 2020 by Cynnar (talk | contribs) (Parameters)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

LUA Functions: PerformCameraShake()

Shakes the player camera


Syntax

PerformCameraShake(param1, param2, param3)


Parameters

Required - param1 (Spawn), param2 (int32)
param1 is the player
param2 is the first value
param3 is the intensity of the camera shake Min value of 15000

Usage

function hailed(NPC, Spawn)
     PerformCameraShake(Spawn, 52429, 15948)
end


Notes

Can only be used on a player

Will shake the camera