BIS fnc shakeCuratorCamera: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{RV|type=function | arma3 |1.16 |gr1= Curator | " to "{{RV|type=function |game1= arma3 |version1= 1.16 |gr1= Curator |descr= ")
m (Text replacement - " \|descr=(.*) \| (.*) " to " |descr= $1 |s1= $2 ")
Line 7: Line 7:
|gr1= Curator
|gr1= Curator


|descr= Shake curator camera.
|descr= Shake curator camera.


| [strength,duration,area] spawn [[BIS_fnc_shakeCuratorCamera]]
|s1= [strength,duration,area] spawn [[BIS_fnc_shakeCuratorCamera]]


|p1=strength: [[Number]] - (Optional, default 0.01) Shaking strength
|p1=strength: [[Number]] - (Optional, default 0.01) Shaking strength

Revision as of 19:28, 9 June 2021

Hover & click on the images for description

Description

Description:
Shake curator camera.
Execution:
spawn
Groups:
Curator

Syntax

Syntax:
[strength,duration,area] spawn BIS_fnc_shakeCuratorCamera
Parameters:
strength: Number - (Optional, default 0.01) Shaking strength
duration: Number - (Optional, default 0.7) Duration in seconds
area: Array - (Optional, default []) Shake only when camera is in given distance from center. In format:
0: Position - Center
1: Number - Radius
Return Value:
Return value needed

Examples

Example 1:
[] spawn BIS_fnc_shakeCuratorCamera;
Example 2:
[ 0.1, 5, [BIS_explosion_center,500] ] spawn BIS_fnc_shakeCuratorCamera;

Additional Information

See also:
Arma 3: Curator

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note