BIS fnc GUIgrid: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )C([a-z])" to "$1c$3")
m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )G([a-z])" to "$1g$3")
Line 15: Line 15:
|p1= category: [[String]] - (Optional, default "GUI") category name
|p1= category: [[String]] - (Optional, default "GUI") category name


|p2= grid: [[String]] - (Optional, default "GRID") Grid name
|p2= grid: [[String]] - (Optional, default "GRID") grid name


|r1= [[Array]] - In format [<nowiki/>[x,y,w,h],gridW,gridH]
|r1= [[Array]] - In format [<nowiki/>[x,y,w,h],gridW,gridH]

Revision as of 12:29, 8 November 2023

Hover & click on the images for description

Description

Description:
Returns grid params and stores it into uiNamespace.
Execution:
call
Groups:
GUI

Syntax

Syntax:
[category, grid] call BIS_fnc_GUIgrid
Parameters:
category: String - (Optional, default "GUI") category name
grid: String - (Optional, default "GRID") grid name
Return Value:
Array - In format [[x,y,w,h],gridW,gridH]

Examples

Example 1:
call BIS_fnc_GUIgrid; //[-0.452381,0.214286,1.2,1]

Additional Information

See also:
BIS_fnc_GUIgridToProfile

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