Arma 3 Scripting

Command in GUI Control

allCutLayers

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns all named layers used by cutRsc, cutText, cutObj or cutFadeOut. The layer normally would be added on the first use of any of the aforementioned commands, however if a layer needs to be reserved it could be done like so:

private _layerNum = "TAG_myLayerName" cutFadeOut 0;

Syntax

allCutLayers

Returns: Array of Strings - The index of the layer name in the array corresponds to the layer number the cut effect will be displayed on. If no layers were defined, the return is [""], because layer 0 is reserved for usage in cut commands without layer param or when the provided layer name is empty "".

Examples

Example 1

private _allLayers = allCutLayers;

See also

cutRsc · cutText · cutObj · cutFadeOut · allActiveTitleEffects · activeTitleEffectParams