cutFadeOut: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma1 | | arma1 | ||
|1.05 | |1.05 | ||
|gr1= GUI Control | |gr1= GUI Control | ||
| Terminates the effect in the given layer by fading it out according to the given duration. If named layer is used and it doesn't exist, it will be allocated. For title layer see [[titleFadeOut]]. | | Terminates the effect in the given layer by fading it out according to the given duration. If named layer is used and it doesn't exist, it will be allocated. For title layer see [[titleFadeOut]]. | ||
{{Feature|arma3|For greater efficiency and ease of moddability, it is recommended to use named layers.}} | {{Feature|arma3|For greater efficiency and ease of moddability, it is recommended to use named layers.}} | ||
| layer '''cutFadeOut''' duration | | layer '''cutFadeOut''' duration | ||
|p1= layer: [[Number]] | |p1= layer: [[Number]] | ||
|p2= duration: [[Number]] | |p2= duration: [[Number]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|s2= layerName '''cutFadeOut''' duration {{Since|arma3|1.57.134673|y}} | |s2= layerName '''cutFadeOut''' duration {{Since|arma3|1.57.134673|y}} | ||
|p21= layerName: [[String]] - effect layer name. Layer names are CaSe SeNsItIvE |PARAMETER21= | |p21= layerName: [[String]] - effect layer name. Layer names are CaSe SeNsItIvE |PARAMETER21= | ||
Line 24: | Line 24: | ||
|p22= duration: [[Number]] - fade out time |PARAMETER22= | |p22= duration: [[Number]] - fade out time |PARAMETER22= | ||
|r2= [[Number]] - number of the corresponding layer | |r2= [[Number]] - number of the corresponding layer | ||
|x1= <code>0 [[cutFadeOut]] 2;</code> | |x1= <code>0 [[cutFadeOut]] 2;</code> | ||
|x2= <code>_layer = "layer1" [[cutFadeOut]] 2;</code> | |x2= <code>_layer = "layer1" [[cutFadeOut]] 2;</code> | ||
| [[allCutLayers]], [[cutText]], [[cutRsc]], [[cutObj]], [[allActiveTitleEffects]] | | [[allCutLayers]], [[cutText]], [[cutRsc]], [[cutObj]], [[allActiveTitleEffects]] | ||
}} | }} | ||
Revision as of 00:30, 18 January 2021
Description
- Description:
- Terminates the effect in the given layer by fading it out according to the given duration. If named layer is used and it doesn't exist, it will be allocated. For title layer see titleFadeOut.
- Groups:
- GUI Control
Syntax
Alternative Syntax
- Syntax:
- layerName cutFadeOut duration Template:Since
- 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
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
Bottom Section
- Posted on July 9, 2016 - 11:30 (UTC)
- Krzmbrzl00
-
(ArmA v1.60)
The actual fadeout-duration can be dependent on the duration for the fadein (e.g. specified by cutText). If the fadein-duration is set to a value less than 1 the fadeout-duration will be the given number multiplied by the fadein-duration."test" cutText ["", "BLACK", 0.5, true]; // fadein is < 0 "test" cutFadeout 2; // -no comment defined-