BIS fnc 3DENControlsHint: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3 |Game name=
 
|1.00|Game version=
____________________________________________________________________________________________


|1.00|= Game version
| Used by Eden to display control hints for the current Eden operation as seen in the bottom right corner of the Editor display. |Description=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Used by Eden to display control hints for the current Eden operation.
| [mode] call [[BIS_fnc_3DENControlsHint]] |Syntax=
As seen in the bottom right corner of the Editor display.
 
Mostly non consumable for the end user except for three modes..
|p1= mode: [[String]] - '''case-sensitive''', can be one of:
* "show" - Shows controls hints
* "show" - Shows controls hints
* "hide" - Hides controls hints
* "hide" - Hides controls hints
*"toggle" - Toggles controls hints |= Description
* "toggle" - Toggles controls hints
  |Parameter 1=
 
| [[Nothing]] |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [ '''mode''' ] call [[BIS_fnc_3DENControlsHint]]; |= Syntax
|x1= <code>["toggle"] call [[BIS_fnc_3DENControlsHint]]; {{codecomment|// toggle Eden controls hints}}</code> |Example 1=
|p1= '''mode''' : [[String]] - Mode to use, is case sensitive  |= Parameter 1
 
| [[Nothing]] |= Return value
____________________________________________________________________________________________
|x1= Toggle Eden controls hints
<code>[ "toggle" ] call [[BIS_fnc_3DENControlsHint]];</code> |=  
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| |See also=
 
}}
}}


Line 37: Line 35:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Default|{{uc:3DENControlsHint}}]]
[[Category:Functions|{{uc:3DENControlsHint}}]]
[[Category:Functions|{{uc:3DENControlsHint}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:3DENControlsHint}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:3DENControlsHint}}]]
[[Category:Function Group: Eden Editor|{{uc:3DENControlsHint}}]]


<!-- CONTINUE Notes -->
<!-- CONTINUE Notes -->
<dl class="command_description">
<dl class="command_description">
<dd class="notedate">Posted on July 23, 2017 - 02:34 (UTC)</dd>
<dd class="notedate">Posted on July 23, 2017 - 02:34 (UTC)
<dt class="note">[[User:Larrow|Larrow]]</dt>
<dt class="note">[[User:Larrow|Larrow]]
<dd class="note">
<dd class="note">
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<br/>
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
<br/>
<br />
'''uiNamespace getVariable "bis_fnc_3DENControlsHint_selected"'''<br/>
<br />
:default - [0,[0,0,0,0,0,0],[[],[],[],[],[],[]]]<br/>
 
:0 - total number of selected Eden entities<br/>
'''uiNamespace getVariable "bis_fnc_3DENControlsHint_selected"'''
:1 - count of selected Eden entities by type<br/>
:default - [0,[0,0,0,0,0,0],[[],[],[],[],[],[]]]
::0 - units<br/>
* 0 - total number of selected Eden entities
::1 - groups<br/>
* 1 - count of selected Eden entities by type
::2 - triggers<br/>
** 0 - units
::3 - waypoints<br/>
** 1 - groups
::4 - logics/systems/modules<br/>
** 2 - triggers
::5 - markers<br/>
** 3 - waypoints
:2 - same results as [[get3DENSelected]] "" . Which is the same order as above for counts<br/>
** 4 - logics/systems/modules
<br/>
** 5 - markers
'''uiNamespace getVariable "bis_fnc_3DENControlsHint_place"'''<br/>
* 2 - same results as [[get3DENSelected]] "" . Which is the same order as above for counts
:default - [ "", false ]<br/>
<br />
:0 - Class name of current Eden entity being placed<br/>
 
:1 - true if class simulation type is a kind of vehicle<br/>
'''uiNamespace getVariable "bis_fnc_3DENControlsHint_place"'''
::["car","carx","tank","tankx","helicopter","helicopterx",<br/>
:default - [ "", false ]
::"helicopterrtd","airplane","airplanex","ship","shipx",<br/>
* 0 - Class name of current Eden entity being placed
::"submarinex","hovercraftx","motorcycle","parachute","paraglide"]<br/>
* 1 - true if class simulation type is a kind of vehicle
<br/>
::["car","carx","tank","tankx","helicopter","helicopterx",
'''uiNamespace getVariable "bis_fnc_3DENControlsHint_mouseButtons"'''<br/>
::"helicopterrtd","airplane","airplanex","ship","shipx",
:default - [false,false]<br/>
::"submarinex","hovercraftx","motorcycle","parachute","paraglide"]
:0 - left mouse button is down in Asset tree<br/>
<br />
:1 - right mouse button is down in Asset tree<br/>
 
<br/>
'''uiNamespace getVariable "bis_fnc_3DENControlsHint_mouseButtons"'''
'''uiNamespace getVariable "bis_fnc_3DENControlsHint_connect"'''<br/>
:default - [ false, false ]
:default - [ "", "" ]<br/>
* 0 - left mouse button is down in Asset tree
:0 - text description of current connection being made eg "Sync to"<br/>
* 1 - right mouse button is down in Asset tree
:1 - config path to CfgWrapperUI cursor texture<br/>
<br />
<br/>
 
'''uiNamespace getVariable "bis_fnc_3DENControlsHint_pos"'''<br/>
'''uiNamespace getVariable "bis_fnc_3DENControlsHint_connect"'''
:default - [1.40902,1.37676,0.309598,0.401606] - may vary between different setups<br/>
:default - [ "", "" ]
:default position and size of Eden controls hint - ctrlPosition<br/>
* 0 - text description of current connection being made eg "Sync to"
* 1 - config path to CfgWrapperUI cursor texture
<br />
 
'''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]]
</dd>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->
<!-- DISCONTINUE Notes -->

Revision as of 11:08, 28 May 2018

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

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

Posted on July 23, 2017 - 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