BIS fnc 3DENCamera: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *O([a-z ])" to "$1 - o$2")
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.00
|1.00


|gr1= Eden Editor
|gr1= Eden Editor


| Moves Eden's camera depending on one of two modes:
|descr= Moves Eden's camera depending on one of two modes:
* "random" - A random position over land preferring non forested areas
* "random" - A random position over land preferring non forested areas
* "selected" - The current selected Eden entity or users cursor position if nothing is selected
* "selected" - The current selected Eden entity or users cursor position if nothing is selected


| [mode] call [[BIS_fnc_3DENCamera]]
|s1= [mode] call [[BIS_fnc_3DENCamera]]
|p1= '''mode''': [[String]] - Option mode to use
 
|p1= mode: [[String]] - option mode to use


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= Move Eden's camera to the currently selected Eden entity
|x1= Move Eden's camera to the currently selected Eden entity
<code>["selected"] [[call]] [[BIS_fnc_3DENCamera]];</code>
<sqf>["selected"] call BIS_fnc_3DENCamera;</sqf>


|x2= Move Eden's camera to a random position
|x2= Move Eden's camera to a random position
<code>["random"] [[call]] [[BIS_fnc_3DENCamera]];</code>
<sqf>["random"] call BIS_fnc_3DENCamera;</sqf>


|seealso= [[Eden Editor]],[[BIS_fnc_3DENControlsHint]],[[BIS_fnc_3DENDiagCreateList]],[[BIS_fnc_3DENDiagFonts]],[[BIS_fnc_3DENDiagMouseControl]],[[BIS_fnc_3DENDrawLocations]],[[BIS_fnc_3DENEntityMenu]],[[BIS_fnc_3DENExportAttributes]],[[BIS_fnc_3DENExportOldSQM]],[[BIS_fnc_3DENExportTerrainBuilder]],[[BIS_fnc_3DENFlashlight]],[[BIS_fnc_3DENGrid]],[[BIS_fnc_3DENIntel]],[[BIS_fnc_3DENInterface]],[[BIS_fnc_3DENListLocations]],[[BIS_fnc_3DENMissionPreview]],[[BIS_fnc_3DENModuleDescription]],[[BIS_fnc_3DENShowMessage]],[[BIS_fnc_3DENStatusBar]],[[BIS_fnc_3DENToolbar]],[[BIS_fnc_3DENTutorial]],[[BIS_fnc_3DENVisionMode]]
|seealso= [[:Category:Eden Editor|Eden Editor]] [[BIS_fnc_3DENControlsHint]] [[BIS_fnc_3DENDiagCreateList]] [[BIS_fnc_3DENDiagFonts]] [[BIS_fnc_3DENDiagMouseControl]] [[BIS_fnc_3DENDrawLocations]] [[BIS_fnc_3DENEntityMenu]] [[BIS_fnc_3DENExportAttributes]] [[BIS_fnc_3DENExportOldSQM]] [[BIS_fnc_3DENExportTerrainBuilder]] [[BIS_fnc_3DENFlashlight]] [[BIS_fnc_3DENGrid]] [[BIS_fnc_3DENIntel]] [[BIS_fnc_3DENInterface]] [[BIS_fnc_3DENListLocations]] [[BIS_fnc_3DENMissionPreview]] [[BIS_fnc_3DENModuleDescription]] [[BIS_fnc_3DENShowMessage]] [[BIS_fnc_3DENStatusBar]] [[BIS_fnc_3DENToolbar]] [[BIS_fnc_3DENTutorial]] [[BIS_fnc_3DENVisionMode]]
}}
}}
[[Category:{{Name|arma3}}: Functions|{{uc:3DENCamera}}]]

Latest revision as of 15:44, 8 November 2023

Hover & click on the images for description

Description

Description:
Moves Eden's camera depending on one of two modes:
  • "random" - A random position over land preferring non forested areas
  • "selected" - The current selected Eden entity or users cursor position if nothing is selected
Execution:
call
Groups:
Eden Editor

Syntax

Syntax:
[mode] call BIS_fnc_3DENCamera
Parameters:
mode: String - option mode to use
Return Value:
Nothing

Examples

Example 1:
Move Eden's camera to the currently selected Eden entity
["selected"] call BIS_fnc_3DENCamera;
Example 2:
Move Eden's camera to a random position
["random"] call BIS_fnc_3DENCamera;

Additional Information

See also:
Eden Editor BIS_fnc_3DENControlsHint BIS_fnc_3DENDiagCreateList BIS_fnc_3DENDiagFonts BIS_fnc_3DENDiagMouseControl BIS_fnc_3DENDrawLocations BIS_fnc_3DENEntityMenu BIS_fnc_3DENExportAttributes BIS_fnc_3DENExportOldSQM BIS_fnc_3DENExportTerrainBuilder BIS_fnc_3DENFlashlight BIS_fnc_3DENGrid BIS_fnc_3DENIntel BIS_fnc_3DENInterface BIS_fnc_3DENListLocations BIS_fnc_3DENMissionPreview BIS_fnc_3DENModuleDescription BIS_fnc_3DENShowMessage BIS_fnc_3DENStatusBar BIS_fnc_3DENToolbar BIS_fnc_3DENTutorial BIS_fnc_3DENVisionMode

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