BIS fnc GUIgrid: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|+$" to "") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
||
Line 19: | Line 19: | ||
|r1= [[Array]] - In format [<nowiki/>[x,y,w,h],gridW,gridH] | |r1= [[Array]] - In format [<nowiki/>[x,y,w,h],gridW,gridH] | ||
|x1= <code> | |x1= <code>call [[BIS_fnc_GUIgrid]]; //[-0.452381,0.214286,1.2,1]</code> | ||
|seealso= [[BIS_fnc_GUIgridToProfile]] | |seealso= [[BIS_fnc_GUIgridToProfile]] | ||
}} | }} |
Revision as of 21:36, 12 July 2022
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