Difference between revisions of "BIS fnc setCuratorCamera"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (fixed syntax error)
m (call -> spawn)
 
Line 10: Line 10:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [camPos,targetPos,time] call [[BIS_fnc_setCuratorCamera]] |Syntax=
+
| [camPos,targetPos,time] spawn [[BIS_fnc_setCuratorCamera]] |Syntax=
  
 
|p1=camPos: [[Position]] - (Optional, default [[getPosATL]] [[curatorCamera]]) Position, for supported types see [[BIS_fnc_position]]|Parameter 1=
 
|p1=camPos: [[Position]] - (Optional, default [[getPosATL]] [[curatorCamera]]) Position, for supported types see [[BIS_fnc_position]]|Parameter 1=
Line 17: Line 17:
  
 
|p3=time: [[Number]] or [[Boolean]] - (Optional, default 0) Commit time or [[true]] to calculate time automatically|Parameter 3=
 
|p3=time: [[Number]] or [[Boolean]] - (Optional, default 0) Commit time or [[true]] to calculate time automatically|Parameter 3=
 +
 +
|exec= spawn |= Executio
  
 
| [[Boolean]] [[True]]  when done|Return value=
 
| [[Boolean]] [[True]]  when done|Return value=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
|x1= <code>[nil,player,5] [[call]] [[BIS_fnc_setCuratorCamera]];</code>|Example 1=
+
|x1= <code>[nil,player,5] [[spawn]] [[BIS_fnc_setCuratorCamera]];</code>|Example 1=
  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________

Latest revision as of 16:56, 22 June 2018

Introduced with Arma 3 version1.16
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.16

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
Multiplayer:
-
See also:
CuratorcuratorCamera

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section