move3DENCamera: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *N([a-z ])" to "$1 - n$2")
m (Some wiki formatting)
Line 10: Line 10:
|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]]

Revision as of 13:09, 4 December 2023

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