move3DENCamera: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *s([0-9]) *= ([^ ]+)? ?'''([a-zA-Z0-9_]+)''' ?([^ ]+)? " to " |s$1= $2 $3 $4 ")
m (Text replacement - "\] +\[" to "] [")
 
(13 intermediate revisions by 2 users not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 1.56
|version1= 1.56


Line 9: 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: [[Position]] - 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 <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 <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]]


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


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

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