BIS fnc shakeCuratorCamera: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.16 | |1.16 | ||
|gr1 = Curator | |gr1 = Curator | ||
| Shake curator camera. | | Shake curator camera. | ||
| [strength,duration,area] spawn [[BIS_fnc_shakeCuratorCamera]] | | [strength,duration,area] spawn [[BIS_fnc_shakeCuratorCamera]] | ||
|p1=strength: [[Number]] - (Optional, default 0.01) Shaking strength | |p1=strength: [[Number]] - (Optional, default 0.01) Shaking strength | ||
|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 []) 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 |Execution= | |exec= spawn |Execution= | ||
| [[Boolean]] | | [[Boolean]] | ||
|x1= <code>[] [[spawn]] [[BIS_fnc_shakeCuratorCamera]];</code> | |x1= <code>[] [[spawn]] [[BIS_fnc_shakeCuratorCamera]];</code> | ||
|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> | ||
| [[Curator]] | | [[Curator]] | ||
}} | }} | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:shakeCuratorCamera}}]] | [[Category:Functions|{{uc:shakeCuratorCamera}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:shakeCuratorCamera}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:shakeCuratorCamera}}]] |
Revision as of 23:45, 17 January 2021
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:
[] 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