BIS fnc shakeCuratorCamera: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \|descr=(.*) \| (.*) " to " |descr= $1 |s1= $2 ") |
Lou Montana (talk | contribs) m (Text replacement - "(Optional, default {{hl|[]}})" to "(Optional, default <sqf inline>[]</sqf>)") |
||
(13 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 1.16 | |version1= 1.16 | ||
|gr1= Curator | |gr1= Curator | ||
|descr= | |descr= Shake curator camera. | ||
|s1= [strength,duration,area] spawn [[BIS_fnc_shakeCuratorCamera]] | |s1= [strength,duration,area] spawn [[BIS_fnc_shakeCuratorCamera]] | ||
|p1=strength: [[Number]] - (Optional, default 0.01) | |p1=strength: [[Number]] - (Optional, default 0.01) shaking strength | ||
|p2= duration: [[Number]] - (Optional, default 0.7) | |p2= duration: [[Number]] - (Optional, default 0.7) duration in seconds | ||
|p3= area: [[Array]] - (Optional, default []) | |p3= area: [[Array]] - (Optional, default <sqf inline>[]</sqf>) 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 | ||
|exec= spawn| [[Boolean]] | |exec= spawn|r1= [[Boolean]] | ||
|x1= < | |x1= <sqf>[] spawn BIS_fnc_shakeCuratorCamera;</sqf> | ||
|x2= < | |x2= <sqf>[0.1, 5, [BIS_explosion_center,500]] spawn BIS_fnc_shakeCuratorCamera;</sqf> | ||
|seealso= [[Arma 3: Curator]] | |seealso= [[Arma 3: Curator]] | ||
}} | }} | ||
Latest revision as of 18:09, 8 November 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