cutFadeOut

From Bohemia Interactive Community
Revision as of 21:18, 20 February 2016 by Killzone Kid (talk | contribs)
Jump to navigation Jump to search
-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:
cutTextcutRsccutObj

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