move3DENCamera: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{GameCategory|arma3|New Scripting Commands}} {{GameCategory|arma3|Scripting Commands}} {{uc:{{PAGENAME}}}}" to "")
(page overhaul)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|arma3
|game1= arma3


|1.56
|version1= 1.56


|gr1= Eden Editor
|gr1= Eden Editor


| When useOffset is [[true]], camera will move to the position + defined offset in config and '''target''' the position. If useOffset is false, the camera will be moved exactly to the provided position without changing the rotation of the camera. Default camera offset: <tt>[0,-25,25]</tt>
|descr= Moves the [[get3DENCamera|Eden Editor camera]].


| '''move3DENCamera''' [position,useOffset]
|s1= '''move3DENCamera''' [position, useOffset]
|p1= position: [[Position]]
|p2= useOffset: [[Boolean]] - true if camera should use offset (defined in [[configFile]] >> "Cfg3DEN" >> "Camera" >> "moveOffset")


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


|x1= <code>[[move3DENCamera]] [<nowiki/>[[getPos]] [[player]],true];</code>
|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 [[false]], the camera will be moved to the exact ''position''


|  
|r1= [[Nothing]]
[[get3DENMouseOver]]
 
[[add3DENConnection]]
|x1= <code>[[move3DENCamera]] [<nowiki/>[[getPos]] [[player]], [[true]]];</code>
[[add3DENEventHandler]]
 
[[all3DENEntities]]
|seealso= [[get3DENCamera]]
[[collect3DENHistory]]
[[create3DENComposition]]
[[create3DENEntity]]
[[current3DENOperation]]
[[delete3DENEntities]]
[[do3DENAction]]
[[get3DENActionState]]
[[get3DENAttribute]]
[[get3DENCamera]]
[[get3DENConnections]]
[[get3DENEntityID]]
[[get3DENGrid]] 
[[get3DENIconsVisible]]
[[get3DENLinesVisible]]
[[get3DENSelected]]
[[is3DEN]]
[[is3DENMultiplayer]]
[[remove3DENConnection]]
[[remove3DENEventHandler]]
[[removeAll3DENEventHandlers]]
[[set3DENAttributes]]
[[set3DENGrid]]
[[set3DENIconsVisible]]
[[set3DENLinesVisible]]
[[set3DENObjectType]]
}}
}}

Revision as of 11:40, 19 May 2021

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