Warning: file_put_contents(/ff_f5d32caa9977b7446131e4c4ca08b6fbe568f1161e2ee20b.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
getResolution - OFPEC Scripting Command Reference | OFPEC The Editing Center

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;

Advertisement