move3DENCamera: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
(also changed data type to PositionASL)
(8 intermediate revisions by 2 users not shown)
Line 10: Line 10:
|s1= [[move3DENCamera]]  [position, useOffset]
|s1= [[move3DENCamera]]  [position, useOffset]


|p1= position: [[Position]] - New position
|p1= position: [[PositionASL]] - New position


|p2= useOffset: [[Boolean]]
|p2= useOffset: [[Boolean]]
* If [[true]] the camera will move to the 'position'', add the offset defined in <tt>[[configFile]] >> "Cfg3DEN" >> "Camera" >> "moveOffset"</tt> and look at the ''position''.  Default camera offset: <tt>[0, -25, 25]</tt>
* 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 [[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]]


|x1= <code>[[move3DENCamera]] [<nowiki/>[[getPos]] [[player]], [[true]]];</code>
|x1= <sqf>move3DENCamera [getPosASL player, true];</sqf>


|seealso= [[get3DENCamera]]
|seealso= [[get3DENCamera]]
}}
}}

Revision as of 14:31, 12 November 2022

Hover & click on the images for description

Description

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

Syntax

Syntax:
move3DENCamera [position, useOffset]
Parameters:
position: 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.
Only post proven facts here! Add Note