StopScriptGlobalShaking
DocsStopScriptGlobalShaking(bStopImmediately)Description
Introduced in build 323
Stops the currently active global camera shake that was initiated by a script. You can check if a global camera shake is active using IS_SCRIPT_GLOBAL_SHAKING.
Parameters
| Name | Type | Description |
|---|---|---|
bStopImmediately | BOOL | A boolean indicating whether the camera shake should stop instantly (TRUE) or gradually fade out (FALSE). |
Returns
voidThis native does not return a value.
Examples
Official
-- Stops the currently active global camera shake with a gradual fade out
if IsScriptGlobalShaking() then
StopScriptGlobalShaking(false)
end