BIS fnc GUIgrid: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {{Function|Comments=" to "{{Function|Comments=")
m (page filled)
Line 1: Line 1:
{{Function|Comments=
{{Function
____________________________________________________________________________________________


| tkoh |Game name=
|game1= tkoh


|1.00|Game version=
|version1= 1.00
____________________________________________________________________________________________


| <pre>/*
<!--|serverExec= server-->
Author: Karel Moricky


Description:
<!--|arg= local-->
Returns grid params and stores it into uiNameSpace


Parameter(s):
<!--|eff= local-->
_this select 0: STRING - category name
_this select 1: STRING - grid name


Returns:
|descr= Returns grid params and stores it into [[uiNamespace]].
ARRAY - format [[x,y,w,h],gridW,gridH]
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION=
|s1= [category, grid] call [[BIS_fnc_GUIgrid]]
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_GUIgrid]]; --> |SYNTAX=
|p1= category: [[String]] - Category name


|p1= |PARAMETER1=
|p2= grid: [[String]] - Grid name


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


|x1= <code></code> |EXAMPLE1=
|x1= <code>[[call]] [[BIS_fnc_GUIgrid]]; //[-0.452381,0.214286,1.2,1]</code>
____________________________________________________________________________________________


| |SEEALSO=
|exec= call
 
|seealso= [[BIS_fnc_GUIgridToProfile]]


}}
}}


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: GUI|{{uc:GUIgrid}}]]
[[Category:Function Group: GUI|{{uc:GUIgrid}}]]
[[Category:Functions|{{uc:GUIgrid}}]]
[[Category:Functions|{{uc:GUIgrid}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:GUIgrid}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:GUIgrid}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:GUIgrid}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:GUIgrid}}]]

Revision as of 14:55, 21 July 2020

Hover & click on the images for description

Description

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

Syntax

Syntax:
[category, grid] call BIS_fnc_GUIgrid
Parameters:
category: String - Category name
grid: String - 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