BIS fnc shakeCuratorCamera: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
||
Line 22: | Line 22: | ||
|x1= <sqf>[] spawn BIS_fnc_shakeCuratorCamera;</sqf> | |x1= <sqf>[] spawn BIS_fnc_shakeCuratorCamera;</sqf> | ||
|x2= <code>[ 0.1, 5, [BIS_explosion_center,500] ] spawn | |x2= <code>[ 0.1, 5, [BIS_explosion_center,500] ] spawn BIS_fnc_shakeCuratorCamera;</code> | ||
|seealso= [[Arma 3: Curator]] | |seealso= [[Arma 3: Curator]] | ||
}} | }} |
Revision as of 21:38, 12 July 2022
Description
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:
- 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