Difference between revisions of "MDE Scripting: FaderFadeIn"
From Nomad DB
Line 44: | Line 44: | ||
− | == | + | == Examples == |
− | + | <syntaxhighlight lang="lua"> | |
− | |||
game.hud:FaderFadeIn(3000) -- Fade-in during 3 seconds | game.hud:FaderFadeIn(3000) -- Fade-in during 3 seconds | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | + | ||
Revision as of 01:20, 16 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 for fade-out effect.
Parameters
Name | Type | Description |
---|---|---|
duration | number | Time in milliseconds |
Returns
# | Type | Description |
---|---|---|
1 | nil | Nothing |
Examples
game.hud:FaderFadeIn(3000) -- Fade-in during 3 seconds