move3DENCamera: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(also changed data type to PositionASL)
m (Text replacement - "\] +\[" to "] [")
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
|descr= Moves the [[get3DENCamera|Eden Editor camera]].
|descr= Moves the [[get3DENCamera|Eden Editor camera]].


|s1= [[move3DENCamera]] [position, useOffset]
|s1= [[move3DENCamera]] [position, useOffset]


|p1= position: [[PositionASL]] - New position
|p1= position: [[Array]] format [[Position#PositionASL|PositionASL]] - new position


|p2= useOffset: [[Boolean]]
|p2= useOffset: [[Boolean]]
* If [[true]] the camera will move to the 'position'', add the offset defined in {{hl|[[configFile]] >> "Cfg3DEN" >> "Camera" >> "moveOffset"}} and look at the ''position''.  Default camera offset: {{hl|[0, -25, 25]}}
* if [[true]] the camera will move to the ''position'', add the offset defined in <sqf inline>configFile >> "Cfg3DEN" >> "Camera" >> "moveOffset"</sqf> and look at the ''position''.  Default camera offset: {{hl|[0, -25, 25]}}
* If [[false]], the camera will be moved to the exact ''position''
* if [[false]], the camera will be moved to the exact ''position''


|r1= [[Nothing]]
|r1= [[Nothing]]

Latest revision as of 11:46, 5 May 2024

Hover & click on the images for description

Description

Description:
Moves the Eden Editor camera.
Groups:
Eden Editor

Syntax

Syntax:
move3DENCamera [position, useOffset]
Parameters:
position: Array format PositionASL - new position
useOffset: Boolean
  • if true the camera will move to the position, add the offset defined in configFile >> "Cfg3DEN" >> "Camera" >> "moveOffset" and look at the position. Default camera offset: [0, -25, 25]
  • if false, the camera will be moved to the exact position
Return Value:
Nothing

Examples

Example 1:
move3DENCamera [getPosASL player, true];

Additional Information

See also:
get3DENCamera

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