getResolution
Operand types
None
Type of returned value
Description
Returns an array containing all information about the monitor resolution.
The returned array is as follows: [width, height, 2D viewport width, 2D viewport height, aspect ratio, UI scale]
Note: aspect ratio and UI scale are returned as coefficients and not 16:9 for example.
Used In
Arma2OA
Example
_resoArray = getResolution;