BIS fnc controlConfigs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |s1=[" to " |s1= [")
m (Text replacement - " (\|[pr][0-9]+ *= *[^-]+) *- *A([a-z])" to " $1 - a$2")
Line 16: Line 16:
|p2= path: [[Config]] - Root display config path
|p2= path: [[Config]] - Root display config path


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


|x1= <sqf>[ findDisplay 313, configFile >> "Display3DEN" ] call BIS_fnc_controlConfigs;</sqf>
|x1= <sqf>[ findDisplay 313, configFile >> "Display3DEN" ] call BIS_fnc_controlConfigs;</sqf>

Revision as of 12:40, 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