BIS fnc shakeCuratorCamera: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
Line 20: Line 20:
|exec= spawn|r1= [[Boolean]]
|exec= spawn|r1= [[Boolean]]


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


|x2= <code>[ 0.1, 5, [BIS_explosion_center,500] ] [[spawn]] [[BIS_fnc_shakeCuratorCamera]];</code>
|x2= <code>[ 0.1, 5, [BIS_explosion_center,500] ] [[spawn]] [[BIS_fnc_shakeCuratorCamera]];</code>

Revision as of 13:04, 5 May 2022

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