move3DENCamera

From Bohemia Interactive Community
Revision as of 15:48, 18 January 2021 by Lou Montana (talk | contribs) (Text replacement - "(\| * )+\}\}" to "}}")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
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: [0,-25,25]
Groups:
Eden Editor

Syntax

Syntax:
move3DENCamera [position,useOffset]
Parameters:
position: Position
useOffset: Boolean - true if camera should use offset (defined in configFile >> "Cfg3DEN" >> "Camera" >> "moveOffset")
Return Value:
Nothing

Examples

Example 1:
move3DENCamera [getPos player,true];

Additional Information

See also:
get3DENMouseOver add3DENConnection add3DENEventHandler all3DENEntities 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

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