BIS fnc GUIgrid: 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 - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 5: Line 5:
|version1= 1.00
|version1= 1.00


|gr1 = GUI |GROUP1=
|gr1 = GUI


|descr= Returns grid params and stores it into [[uiNamespace]].
|descr= Returns grid params and stores it into [[uiNamespace]].

Revision as of 23:23, 17 January 2021

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