BIS fnc shakeCuratorCamera: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Curator(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\] " to "") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Curator |GROUP1= | |gr1 = Curator |GROUP1= | ||
| Shake curator camera. |Description= | | Shake curator camera. |Description= | ||
| [strength,duration,area] spawn [[BIS_fnc_shakeCuratorCamera]] |Syntax= | | [strength,duration,area] spawn [[BIS_fnc_shakeCuratorCamera]] |Syntax= | ||
Line 25: | Line 22: | ||
| [[Boolean]] |Return value= | | [[Boolean]] |Return value= | ||
|x1= <code>[] [[spawn]] [[BIS_fnc_shakeCuratorCamera]];</code>|Example 1= | |x1= <code>[] [[spawn]] [[BIS_fnc_shakeCuratorCamera]];</code>|Example 1= | ||
Line 31: | Line 27: | ||
|x2= <code>[ 0.1, 5, [BIS_explosion_center,500] ] [[spawn]] [[BIS_fnc_shakeCuratorCamera]];</code>|Example 2= | |x2= <code>[ 0.1, 5, [BIS_explosion_center,500] ] [[spawn]] [[BIS_fnc_shakeCuratorCamera]];</code>|Example 2= | ||
| [[Curator]] |See also= | | [[Curator]] |See also= |
Revision as of 23:46, 16 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