Difference between revisions of "BIS fnc setCuratorCamera"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (call -> spawn)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
+
{{Function|Comments=
{{Function|= Comments
 
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| arma3 |= Game name
+
| arma3 |Game name=
  
|1.00|= Game version
+
|1.16|Game version=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| <pre>/*
+
|Move curator camera to a position and direction. Finished when animation ends.|Description=
 
+
____________________________________________________________________________________________
Description:
 
Move curator camera to a position and direction.
 
Has to be tun in scheduled environment. Finished when animation ends.
 
  
Parameter(s):
+
| [camPos,targetPos,time] spawn [[BIS_fnc_setCuratorCamera]] |Syntax=
0 - positon, for supported types see BIS_fnc_position
 
1: ARRAY - vector dir or target object / position
 
2: NUMBER - commit time
 
  
Returns:
+
|p1=camPos: [[Position]] - (Optional, default [[getPosATL]] [[curatorCamera]]) Position, for supported types see [[BIS_fnc_position]]|Parameter 1=
BOOL
 
*/
 
  
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
+
|p2=targetPos: [[Array]], [[Position]] or [[Object]] - (Optional, default [[vectorDir]] [[curatorCamera]]) Vector dir or target object/position|Parameter 2=
____________________________________________________________________________________________
 
  
| <!-- [] call [[BIS_fnc_setCuratorCamera]]; --> |= Syntax
+
|p3=time: [[Number]] or [[Boolean]] - (Optional, default 0) Commit time or [[true]] to calculate time automatically|Parameter 3=
  
|p1= |= Parameter 1
+
|exec= spawn |= Executio
  
| |= Return value
+
| [[Boolean]] [[True]]  when done|Return value=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
|x1= <code></code> |=  
+
|x1= <code>[nil,player,5] [[spawn]] [[BIS_fnc_setCuratorCamera]];</code>|Example 1=
 +
 
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| |= See also
+
| [[Curator]],[[curatorCamera]] |See also=
 
 
 
}}
 
}}
  

Latest revision as of 17:56, 22 June 2018

Introduced with Arma 3 version 1.161.16
Hover & click on the images for descriptions

Description

Description:
Move curator camera to a position and direction. Finished when animation ends.

Syntax

Syntax:
[camPos,targetPos,time] spawn BIS_fnc_setCuratorCamera
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:
Boolean True when done

Examples

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

Additional Information

Execution:
spawn
See also:
CuratorcuratorCamera

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section