cutFadeOut: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(see also)
Line 33: Line 33:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[cutText]], [[cutRsc]], [[cutObj]] |= See also
| [[allCutLayers]], [[cutText]], [[cutRsc]], [[cutObj]] |= See also


}}
}}

Revision as of 00:44, 21 February 2016

-wrong parameter ("Arma") defined!-1.05
Hover & click on the images for description

Description

Description:
Terminates the effect in the given layer by fading it out according to the given duration.

Since Arma 3 v1.57.134673, the layer could be identified by name. If layer doesn't exist, it will be allocated.
Groups:
Uncategorised

Syntax

Syntax:
layer cutFadeOut duration
Parameters:
layer: Number
duration: Number
Return Value:
Nothing

Alternative Syntax

Syntax:
layerName cutFadeOut duration        (Since Arma 3 v1.57.134673)
Parameters:
layerName: String - effect layer name. Layer names are CaSe SeNsItIvE
duration: Number - fade out time
Return Value:
Number - number of the corresponding layer

Examples

Example 1:
0 cutFadeOut 2;
Example 2:
_layer = "layer1" cutFadeOut 2;

Additional Information

See also:
allCutLayerscutTextcutRsccutObj

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section