BIS fnc 3DENCamera: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision imported: BIS Functions update 7/7)
(Filled out function details)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| ''N/A'' |= 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
|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_3DENCamera]]; --> |= Syntax
| [mode] call [[BIS_fnc_3DENCamera]]; |= Syntax
|p1= |= Parameter 1
|p1= '''mode''': [[String]] - Option mode to use. |=


| |= Return value
| [[Nothing]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
 
|x1= Move Eden's camera to the currently selected Eden entity
|x1= <code></code> |=  
<code>["selected"] call BIS_fnc_3DENCamera</code> |=
|x2= Move Eden's camera to a random position
<code>["random"] call BIS_fnc_3DENCamera</code> |=  
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 15:24, 12 July 2017


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:
Uncategorised

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:
See also needed

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

Notes

Bottom Section