BIS fnc shakeCuratorCamera: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (GVI 1.00 --> 1.16 http://dev.arma3.com/post/spotrep-00023 (It's Zeus update, obvious))
m (pf)
Line 1: Line 1:
 
{{Function|Comments=
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3 |Game name=


|1.16|= Game version
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Shake curator camera. Must be executed in scheduled environment. |Description=
____________________________________________________________________________________________


Description:
| [strength,duration,area] spawn [[BIS_fnc_shakeCuratorCamera]] |Syntax=
Shake curator camera.
Must be executed in scheduled environment.


Parameter(s):
|p1=strength: [[Number]] - (Optional, default 0.01) Shaking strength |Parameter 1=
0: NUMBER - shaking strength
1: NUMBER - duration
2: ARRAY in format [<center>,<radius>] - shake only when camera is in given distance from center


Returns:
|p2= duration: [[Number]] - (Optional, default 0.7) Duration in seconds |Parameter 2=
BOOL
*/
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_shakeCuratorCamera]]; --> |= Syntax
|p3= area: [[Array]] - (Optional, default []) Shake only when camera is in given distance from center. In format:<br>
<br>0: [[Position]] - Center
<br>1: [[Number]] - Radius |Parameter 3=


|p1= |= Parameter 1
|exec= spawn |= Execution


| |= Return value
| [[Boolean]] |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>[] [[spawn]] [[BIS_fnc_shakeCuratorCamera]];</code>|Example 1=
 
|x2= <code>[ 0.1, 5, [BIS_explosion_center,500] ] [[spawn]] [[BIS_fnc_shakeCuratorCamera]];</code>|Example 2=
 
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[Curator]]  |See also=
 
}}
}}
<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<dl class="command_description">

Revision as of 11:14, 20 June 2018

Hover & click on the images for description

Description

Description:
Shake curator camera. Must be executed in scheduled environment.
Execution:
spawn
Groups:
Uncategorised

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

Notes

Bottom Section