Arma 3 Scripting

allCutLayers

  • Arma 3 v1.58

Command · Markdown · JSON · 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