Difference between revisions of "MDE Scripting: FaderFadeIn"

From Nomad DB
(Created page with "{| class="wikitable" !Syntax |<syntaxhighlight lang="lua">game.hud:FaderFadeIn(number duration)</syntaxhighlight> |- !Module |HUD |- !Libra...")
 
Line 17: Line 17:
 
Fade-in effect (from black to image)
 
Fade-in effect (from black to image)
  
See [[MDE_Scripting:_FaderFadeOut]] to invert.
+
See [[MDE_Scripting:_FaderFadeOut|FaderFadeOut]] to invert.
  
  

Revision as of 00:28, 6 October 2020

Syntax
game.hud:FaderFadeIn(number duration)
Module HUD
Library Game
Game Mafia: Definitive Edition


Description

Fade-in effect (from black to image)

See FaderFadeOut to invert.


Parameters

Name Type Description
duration number Time in milliseconds


Returns

# Type Description
1 nil Nothing


Example

game.hud:FaderFadeIn(3000)

-- Fade in during 3 seconds