Warning: file_put_contents(/ff_ee35352bc432d92e4169ae745026aa1fe09771891acf7a99.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