BIS fnc 3DENControlsHint: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{codecomment *\| *\/\/ ([a-zA-Z _.:-]+) *\}\}" to "{{cc|$1}}")
m (Text replacement - "" to "")
 
(39 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


| Used by Eden to display control hints for the current Eden operation as seen in the bottom right corner of the Editor display.
|descr= Used by Eden to display control hints for the current Eden operation as seen in the bottom right corner of the Editor display.


| [mode] call [[BIS_fnc_3DENControlsHint]]
|s1= [mode] call [[BIS_fnc_3DENControlsHint]]


|p1= mode: [[String]] - '''case-sensitive''', can be one of:
|p1= mode: [[String]] - '''case-sensitive''', can be one of:
Line 15: Line 14:
* "hide" - Hides controls hints
* "hide" - Hides controls hints
* "toggle" - Toggles controls hints
* "toggle" - Toggles controls hints
 


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


|x1= <code>["toggle"] call [[BIS_fnc_3DENControlsHint]]; {{cc|toggle Eden controls hints}}</code>
|x1= <sqf>["toggle"] call BIS_fnc_3DENControlsHint; // toggle Eden controls hints</sqf>


|[[Eden Editor]],[[BIS_fnc_3DENCamera]],[[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_3DENCamera]] [[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]]
}}
}}


<dl class="command_description">


 
<dt></dt>
[[Category:{{Name|arma3}}: Functions|{{uc:3DENControlsHint}}]]
<dd class="notedate">Posted on 2017-07-23 - 02:34 (UTC)</dd>
 
 
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on July 23, 2017 - 02:34 (UTC)</dd>
<dt class="note">[[User:Larrow|Larrow]]</dt>
<dt class="note">[[User:Larrow|Larrow]]</dt>
<dd class="note">
<dd class="note">
Line 37: Line 31:
<br>
<br>
<br>
<br>
 
'''uiNamespace getVariable "BIS_fnc_3DENControlsHint_selected"'''
'''uiNamespace getVariable "bis_fnc_3DENControlsHint_selected"'''
:default - [0,[0,0,0,0,0,0],[[],[],[],[],[],[]]]
:default - [0,[0,0,0,0,0,0],[[],[],[],[],[],[]]]
* 0 - total number of selected Eden entities
* 0 - total number of selected Eden entities
Line 51: Line 44:
<br>
<br>


'''uiNamespace getVariable "bis_fnc_3DENControlsHint_place"'''
'''uiNamespace getVariable "BIS_fnc_3DENControlsHint_place"'''
:default - [ "", false ]
:default - ["", false]
* 0 - Class name of current Eden entity being placed
* 0 - Class name of current Eden entity being placed
* 1 - true if class simulation type is a kind of vehicle
* 1 - true if class simulation type is a kind of vehicle
Line 60: Line 53:
<br>
<br>


'''uiNamespace getVariable "bis_fnc_3DENControlsHint_mouseButtons"'''
'''uiNamespace getVariable "BIS_fnc_3DENControlsHint_mouseButtons"'''
:default - [ false, false ]
:default - [false, false]
* 0 - left mouse button is down in Asset tree
* 0 - left mouse button is down in Asset tree
* 1 - right mouse button is down in Asset tree
* 1 - right mouse button is down in Asset tree
<br>
<br>


'''uiNamespace getVariable "bis_fnc_3DENControlsHint_connect"'''
'''uiNamespace getVariable "BIS_fnc_3DENControlsHint_connect"'''
:default - [ "", "" ]
:default - ["", ""]
* 0 - text description of current connection being made eg "Sync to"
* 0 - text description of current connection being made eg "Sync to"
* 1 - config path to CfgWrapperUI cursor texture
* 1 - config path to CfgWrapperUI cursor texture
<br>
<br>


'''uiNamespace getVariable "bis_fnc_3DENControlsHint_pos"'''
'''uiNamespace getVariable "BIS_fnc_3DENControlsHint_pos"'''
:default - [1.40902,1.37676,0.309598,0.401606] - may vary between different setups
:default - [1.40902,1.37676,0.309598,0.401606] - may vary between different setups
:default position and size of Eden controls hint - [[ctrlPosition]]
:default position and size of Eden controls hint - [[ctrlPosition]]
</dd>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->

Latest revision as of 16:04, 23 April 2024

Hover & click on the images for description

Description

Description:
Used by Eden to display control hints for the current Eden operation as seen in the bottom right corner of the Editor display.
Execution:
call
Groups:
Eden Editor

Syntax

Syntax:
[mode] call BIS_fnc_3DENControlsHint
Parameters:
mode: String - case-sensitive, can be one of:
  • "show" - Shows controls hints
  • "hide" - Hides controls hints
  • "toggle" - Toggles controls hints
Return Value:
Nothing

Examples

Example 1:
["toggle"] call BIS_fnc_3DENControlsHint; // toggle Eden controls hints

Additional Information

See also:
Eden Editor BIS_fnc_3DENCamera 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
Posted on 2017-07-23 - 02:34 (UTC)
Larrow
Although a lot of this function may be of no use to the end user there are a number of UINamespace variables a designer may find helpful

uiNamespace getVariable "BIS_fnc_3DENControlsHint_selected"
default - [0,[0,0,0,0,0,0],[[],[],[],[],[],[]]]
  • 0 - total number of selected Eden entities
  • 1 - count of selected Eden entities by type
    • 0 - units
    • 1 - groups
    • 2 - triggers
    • 3 - waypoints
    • 4 - logics/systems/modules
    • 5 - markers
  • 2 - same results as get3DENSelected "" . Which is the same order as above for counts

uiNamespace getVariable "BIS_fnc_3DENControlsHint_place"
default - ["", false]
  • 0 - Class name of current Eden entity being placed
  • 1 - true if class simulation type is a kind of vehicle
["car","carx","tank","tankx","helicopter","helicopterx",
"helicopterrtd","airplane","airplanex","ship","shipx",
"submarinex","hovercraftx","motorcycle","parachute","paraglide"]

uiNamespace getVariable "BIS_fnc_3DENControlsHint_mouseButtons"
default - [false, false]
  • 0 - left mouse button is down in Asset tree
  • 1 - right mouse button is down in Asset tree

uiNamespace getVariable "BIS_fnc_3DENControlsHint_connect"
default - ["", ""]
  • 0 - text description of current connection being made eg "Sync to"
  • 1 - config path to CfgWrapperUI cursor texture

uiNamespace getVariable "BIS_fnc_3DENControlsHint_pos"
default - [1.40902,1.37676,0.309598,0.401606] - may vary between different setups
default position and size of Eden controls hint - ctrlPosition