MDE Scripting: FaderFadeOut

From Nomad DB
Revision as of 00:30, 6 October 2020 by Deewarz (talk | contribs) (Created page with "{| class="wikitable" !Syntax |<syntaxhighlight lang="lua">game.hud:FaderFadeOut(number duration)</syntaxhighlight> |- !Module |HUD |- !Libr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

# Type Description
1 nil Nothing


Example

game.hud:FaderFadeOut(3000) -- Fade-out during 3 seconds