BIS fnc setCuratorCamera: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Text replacement - "{{Function " to "{{RV|type=function ")
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
| arma3
____________________________________________________________________________________________


| arma3 |= Game name
|1.16


|1.00|= Game version
|gr1 = Curator
____________________________________________________________________________________________


| <pre>/*
|Move curator camera to a position and direction. Finished when animation ends.


Description:
| [camPos,targetPos,time] spawn [[BIS_fnc_setCuratorCamera]]
Move curator camera to a position and direction.
Has to be tun in scheduled environment. Finished when animation ends.


Parameter(s):
|p1=camPos: [[Position]] - (Optional, default [[getPosATL]] [[curatorCamera]]) Position, for supported types see [[BIS_fnc_position]]
0 - positon, for supported types see BIS_fnc_position
1: ARRAY - vector dir or target object / position
2: NUMBER - commit time


Returns:
|p2=targetPos: [[Array]], [[Position]] or [[Object]] - (Optional, default [[vectorDir]] [[curatorCamera]]) Vector dir or target object/position
BOOL
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|p3=time: [[Number]] or [[Boolean]] - (Optional, default 0) Commit time or [[true]] to calculate time automatically
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_setCuratorCamera]]; --> |= Syntax
|exec= spawn |= Executio


|p1= |= Parameter 1
| [[Boolean]] [[true]]  when done


| |= Return value
|x1= <code>[nil,player,5] [[spawn]] [[BIS_fnc_setCuratorCamera]];</code>
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


| [[Curator]],[[curatorCamera]]
}}
}}


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>


<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Curator|{{uc:setCuratorCamera}}]]
[[Category:Functions|{{uc:setCuratorCamera}}]]
[[Category:Functions|{{uc:setCuratorCamera}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:setCuratorCamera}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:setCuratorCamera}}]]

Revision as of 22:17, 23 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
spawn
Groups:
Curator

Syntax

Syntax:
Syntax needed
Parameters:
camPos: Position - (Optional, default getPosATL curatorCamera) Position, for supported types see BIS_fnc_position
targetPos: Array, Position or Object - (Optional, default vectorDir curatorCamera) Vector dir or target object/position
time: Number or Boolean - (Optional, default 0) Commit time or true to calculate time automatically
Return Value:
Return value needed

Examples

Example 1:
[nil,player,5] spawn BIS_fnc_setCuratorCamera;

Additional Information

See also:
See also needed

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