Difference between revisions of "LUA:PerformCameraShake"
(Created page with "= LUA Functions: PerformCameraShake() = Shakes the player camera ==== Syntax ==== PerformCameraShake(param1, param2, param3) ==== Parameters ==== ; Required - ''param1'' (...") |
(→Parameters) |
||
| Line 11: | Line 11: | ||
: ''param1'' is the player | : ''param1'' is the player | ||
: ''param2'' is the first value | : ''param2'' is the first value | ||
| − | : ''param3'' is the | + | : ''param3'' is the intensity of the camera shake Min value of 15000 |
| − | |||
==== Usage ==== | ==== Usage ==== | ||
Latest revision as of 18:15, 1 February 2020
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