cutFadeOut: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
(alt syntax, see also)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Terminate the effect in the given layer and set duration of the fade out phase to the given time. |= Description
| Terminates the effect in the given layer by fading it out according to the given duration. <br><br>
Since Arma 3 v1.57.134673, the layer could be identified by name. If layer doesn't exist, it will be allocated. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| layer '''cutFadeOut''' delay|= Syntax
| layer '''cutFadeOut''' duration|= Syntax


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


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


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
|s2= layerName '''cutFadeOut''' duration  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(''Since Arma 3 v1.57.134673'')|= Syntax
|p21= layerName: [[String]]|= Parameter 1
|p22= duration: [[Number]]|= Parameter 2
|r2= [[Number]] - number of the corresponding layer |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>0 cutFadeOut 2</code> |= Example 1
|x1= <code>0 [[cutFadeOut]] 2;</code> |= Example 1
 
|x2= <code>_layer = "layer1" [[cutFadeOut]] 2;</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


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


}}
}}

Revision as of 21:02, 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:
duration: Number
delay: 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