BIS fnc controlConfigs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Text replacement - ">\[ +(.*) *\] +(call|spawn)" to ">[$1] $2")
(29 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= GUI


|1.00|= Game version
|gr2= Configs
____________________________________________________________________________________________


| <pre>/*
|descr= Return config paths to all display controls.
Author: Karel Moricky


Description:
|s1= [display,path] call [[BIS_fnc_controlConfigs]]
Return config paths to all display controls


Parameter(s):
|p1= display: [[Display]]
0: DISPLAY
1: CONFIG - root display config path


Returns:
|p2= path: [[Config]] - root display config path
ARRAY in format [[<control1>,<configpath1>], [<control2>,<configpath2>],... [<controlN>,<configpathN>]]
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|r1= [[Array]] - array in format [[<control1>,<configpath1>], [<control2>,<configpath2>],... [<controlN>,<configpathN>]]
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_controlConfigs]]; --> |= Syntax
|x1= <sqf>[findDisplay 313, configFile >> "Display3DEN"] call BIS_fnc_controlConfigs;</sqf>
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[findDisplay]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: GUI|{{uc:controlConfigs}}]]
[[Category:Functions|{{uc:controlConfigs}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:controlConfigs}}]]

Revision as of 18:27, 8 November 2023

Hover & click on the images for description

Description

Description:
Return config paths to all display controls.
Execution:
call
Groups:
GUIConfigs

Syntax

Syntax:
[display,path] call BIS_fnc_controlConfigs
Parameters:
display: Display
path: Config - root display config path
Return Value:
Array - array in format [[<control1>,<configpath1>], [<control2>,<configpath2>],... [<controlN>,<configpathN>]]

Examples

Example 1:
[findDisplay 313, configFile >> "Display3DEN"] call BIS_fnc_controlConfigs;

Additional Information

See also:
findDisplay

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