move3DENCamera: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
Line 18: Line 18:
|r1= [[Nothing]]
|r1= [[Nothing]]


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


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

Revision as of 11:13, 12 May 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: Position - 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 [getPos 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