cutFadeOut: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(alt syntax, see also)
mNo edit summary
Line 13: Line 13:
| layer '''cutFadeOut''' duration|= Syntax
| layer '''cutFadeOut''' duration|= Syntax


|p1= duration: [[Number]]|= Parameter 1
|p1= layer: [[Number]]|= Parameter 1


|p2= delay: [[Number]]|= Parameter 2
|p2= duration: [[Number]]|= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 22:03, 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
duration: Number
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