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

allDisplays

Operand types

None

Type of returned value

Description

Returns a list of all opened displays (excluding InGameUI displays for now).

Returns an array of displays

Used In

Arma3

Example

_displays = allDisplays;

//useless code, but just an example:
onEachFrame{
if ((findDisplay 602) in allDisplays) then {
hint "Inventory Open";
onEachFrame {};
};
};

Advertisement