Difference between revisions of "MDE Scripting: FaderFadeOut"
From Nomad DB
Line 21: | Line 21: | ||
== Parameters == | == Parameters == | ||
− | {| class="wikitable" width="100% | + | {| class="wikitable" width="100%" |
!Name | !Name | ||
!Type | !Type | ||
Line 30: | Line 30: | ||
|Time in milliseconds | |Time in milliseconds | ||
|} | |} | ||
+ | |||
== Returns == | == Returns == | ||
Line 39: | Line 40: | ||
game.hud:FaderFadeOut(3000) -- Fade-out during 3 seconds | game.hud:FaderFadeOut(3000) -- Fade-out during 3 seconds | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
Revision as of 20:37, 17 October 2020
Syntax | game.hud:FaderFadeOut(number duration)
|
---|---|
Module | HUD |
Library | Game |
Game | Mafia: Definitive Edition |
Description
Fade-out effect (from image to black)
See FaderFadeIn for fade-in effect.
Parameters
Name | Type | Description |
---|---|---|
duration | number | Time in milliseconds |
Returns
Returns nothing.
Examples
game.hud:FaderFadeOut(3000) -- Fade-out during 3 seconds