BIS fnc controlConfigs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: GUI(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - ">\[ +(.*) *\] +(call|spawn)" to ">[$1] $2")
(25 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|gr1= GUI


|gr1= GUI |GROUP1=
|gr2= Configs
____________________________________________________________________________________________


| Return config paths to all display controls. |Description=
|descr= Return config paths to all display controls.
____________________________________________________________________________________________


| [display,path] call [[BIS_fnc_controlConfigs]] |Syntax=
|s1= [display,path] call [[BIS_fnc_controlConfigs]]


|p1= display: [[Display]] |Parameter 1=
|p1= display: [[Display]]


|p2= path: [[Config]] - Root display config path |Parameter 2=
|p2= path: [[Config]] - root display config path


|r1= [[Array]] - array in format [[<control1>,<configpath1>], [<control2>,<configpath2>],... [<controlN>,<configpathN>]]


| [[Array]] - Array in format [[<control1>,<configpath1>], [<control2>,<configpath2>],... [<controlN>,<configpathN>]] |Return value=
|x1= <sqf>[findDisplay 313, configFile >> "Display3DEN"] call BIS_fnc_controlConfigs;</sqf>
____________________________________________________________________________________________


|x1= <code>[ [[findDisplay]] 313, [[configFile]] >> "Display3DEN" ] [[call]] [[BIS_fnc_controlConfigs]];</code>|Example 1=
|seealso= [[findDisplay]]
 
____________________________________________________________________________________________
 
| [[findDisplay]] |See also=
}}
}}
<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: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