cutFadeOut: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
(fixed the note) |
||
Line 42: | Line 42: | ||
<dt class="note">[[User:Krzmbrzl00|Krzmbrzl00]]</dt> | <dt class="note">[[User:Krzmbrzl00|Krzmbrzl00]]</dt> | ||
<dd class="note"> | <dd class="note"> | ||
{{GVI|arma3|1.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. | |||
The actual | <code>"test" [[cutText]] ["", "BLACK", 0.5, [[true]]]; {{cc|fadein is < 0}} | ||
<code>"test" cutText ["", "BLACK", 0.5, true]; {{cc|fadein is < 0}} | "test" [[cutFadeOut]] 2; {{cc|The actual fadeout-time is 2 * 0.5 {{=}} 1}}</code> | ||
"test" | |||
</code> | |||
</dd> | </dd> | ||
</dl> | </dl> | ||
<!-- DISCONTINUE Notes --> | <!-- DISCONTINUE Notes --> |
Revision as of 10:02, 1 March 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
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
-
1.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; // The actual fadeout-time is 2 * 0.5 = 1