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