BIS fnc shakeCuratorCamera: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects(...)
Line 19: Line 19:
1: [[Number]] - Radius
1: [[Number]] - Radius


|exec= spawn |Execution=
|exec= spawn| [[Boolean]]
 
| [[Boolean]]


|x1= <code>[] [[spawn]] [[BIS_fnc_shakeCuratorCamera]];</code>
|x1= <code>[] [[spawn]] [[BIS_fnc_shakeCuratorCamera]];</code>

Revision as of 11:02, 18 January 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:
Boolean

Examples

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

Additional Information

See also:
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