BIS fnc GUIgrid: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *I([a-z ])" to "$1 - i$2") |
||
(2 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
|s1= [category, grid] call [[BIS_fnc_GUIgrid]] | |s1= [category, grid] call [[BIS_fnc_GUIgrid]] | ||
|p1= category: [[String]] - (Optional, default "GUI") | |p1= category: [[String]] - (Optional, default "GUI") category name | ||
|p2= grid: [[String]] - (Optional, default "GRID") | |p2= grid: [[String]] - (Optional, default "GRID") grid name | ||
|r1= [[Array]] - | |r1= [[Array]] - in format [<nowiki/>[x,y,w,h],gridW,gridH] | ||
|x1= <sqf>call BIS_fnc_GUIgrid; //[-0.452381,0.214286,1.2,1]</sqf> | |x1= <sqf>call BIS_fnc_GUIgrid; //[-0.452381,0.214286,1.2,1]</sqf> |
Latest revision as of 15:33, 8 November 2023
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:
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