No categories assigned

LUA:PerformCameraShake

Revision as of 17:22, 1 February 2020 by Cynnar (talk | contribs) (Created page with "= LUA Functions: PerformCameraShake() = Shakes the player camera ==== Syntax ==== PerformCameraShake(param1, param2, param3) ==== Parameters ==== ; Required - ''param1'' (...")
(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 second value


Usage

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


Notes

Can only be used on a player

Will shake the camera