BIS fnc GUIgrid: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " {{Function|Comments=" to "{{Function|Comments=") |
m (page filled) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| tkoh | |game1= tkoh | ||
|1.00 | |version1= 1.00 | ||
| | <!--|serverExec= server--> | ||
<!--|arg= local--> | |||
<!--|eff= local--> | |||
|descr= Returns grid params and stores it into [[uiNamespace]]. | |||
|s1= [category, grid] call [[BIS_fnc_GUIgrid]] | |||
| | |p1= category: [[String]] - Category name | ||
| | |p2= grid: [[String]] - Grid name | ||
| | |r1= [[Array]] - In format <nowiki>[</nowiki>[x,y,w,h],gridW,gridH] | ||
|x1= <code></code> | |x1= <code>[[call]] [[BIS_fnc_GUIgrid]]; //[-0.452381,0.214286,1.2,1]</code> | ||
| | | |exec= call | ||
|seealso= [[BIS_fnc_GUIgridToProfile]] | |||
}} | }} | ||
[[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
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