BIS fnc shakeCuratorCamera: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "(Optional, default [])" to "(Optional, default {{hl|[]}})") |
||
Line 14: | Line 14: | ||
|p2= duration: [[Number]] - (Optional, default 0.7) Duration in seconds | |p2= duration: [[Number]] - (Optional, default 0.7) Duration in seconds | ||
|p3= area: [[Array]] - (Optional, default []) Shake only when camera is in given distance from center. In format:<br> | |p3= area: [[Array]] - (Optional, default {{hl|[]}}) Shake only when camera is in given distance from center. In format:<br> | ||
0: [[Position]] - Center<br> | 0: [[Position]] - Center<br> | ||
1: [[Number]] - Radius | 1: [[Number]] - Radius |
Revision as of 14:05, 26 October 2023
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:
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