cutFadeOut: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ") |
||
Line 20: | Line 20: | ||
|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 | |p21= layerName: [[String]] - effect layer name. Layer names are CaSe SeNsItIvE | ||
|p22= duration: [[Number]] - fade out time | |p22= duration: [[Number]] - fade out time | ||
|r2= [[Number]] - number of the corresponding layer | |r2= [[Number]] - number of the corresponding layer |
Revision as of 18:14, 29 January 2021
Description
- Description:
- Description needed
- Groups:
- GUI Control
Syntax
- Syntax:
- Syntax needed
- Parameters:
- layer: Number
- duration: Number
- Return Value:
- Return value needed
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
- See also:
- See also needed
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
- 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-