cutFadeOut: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (a3 note) |
No edit summary |
||
Line 53: | Line 53: | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command_Group:_Interaction|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Interaction|{{uc:{{PAGENAME}}}}]] | ||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on July 9, 2016 - 11:30 (UTC)</dd> | |||
<dt class="note">[[User:Krzmbrzl00|Krzmbrzl00]]</dt> | |||
<dd class="note"> | |||
(ArmA v1.60)<br> | |||
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 divided by the fadein-duration.<br> | |||
<pre>"test" cutText ["", "BLACK", 0.5, true]; // fadein is < 0 | |||
"test" cutFadeout 2; // The actual fadeout-time is 2 / 0.5 = 1 | |||
</pre> | |||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> |
Revision as of 12:31, 9 July 2016
Description
- Description:
- Terminates the effect in the given layer by fading it out according to the given duration. If maned layer used and it doesn't exist, it will be allocated.
- Groups:
- Uncategorised
Syntax
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:
- allCutLayerscutTextcutRsccutObj
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
- 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 divided by the fadein-duration.
"test" cutText ["", "BLACK", 0.5, true]; // fadein is < 0 "test" cutFadeout 2; // The actual fadeout-time is 2 / 0.5 = 1