Difference between revisions of "MDE Scripting: FaderFadeOut"
From Nomad DB
Line 4: | Line 4: | ||
|- | |- | ||
!Module | !Module | ||
− | |[[ | + | |[[MDE Scripting: Game Library#HUD|HUD]] |
|- | |- | ||
!Library | !Library | ||
− | |[[ | + | |[[MDE Scripting: Game Library|Game]] |
|- | |- | ||
!Game | !Game | ||
− | |[[ | + | |[[MDE Scripting|Mafia: Definitive Edition]] |
|} | |} | ||
Line 17: | Line 17: | ||
Fade-out effect (from image to black) | Fade-out effect (from image to black) | ||
− | See [[ | + | See [[MDE Scripting: FaderFadeIn|FaderFadeIn]] for fade-in effect. |
Revision as of 20:39, 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