cutFadeOut: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 21: Line 21:
|s2= layerName '''cutFadeOut''' duration         (''Since Arma 3 v1.57.134673'')|= Syntax
|s2= layerName '''cutFadeOut''' duration         (''Since Arma 3 v1.57.134673'')|= Syntax


|p21= layerName: [[String]]|= Parameter 1
|p21= layerName: [[String]] - effect layer name. Layer names are CaSe SeNsItIvE|= Parameter 1


|p22= duration: [[Number]]|= Parameter 2
|p22= duration: [[Number]] - fade out time|= Parameter 2


|r2= [[Number]] - number of the corresponding layer |= Return value
|r2= [[Number]] - number of the corresponding layer |= Return value

Revision as of 22:18, 20 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:
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