allCutLayers

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.58
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.58

Description

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:
_layerNum = "myLayerName" cutFadeOut 0;.

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 0 layer is reserved for usage in cut commands without layer param or when name of the layer given is empty "".

Syntax

Syntax:
allCutLayers
Return Value:
Array - array of Strings

Examples

Example 1:
_allLayers = allCutLayers;

Additional Information

Multiplayer:
-
See also:
cutRsccutTextcutObjcutFadeOut

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section