[dismiss]
This wiki is a copy of the original Skyrim CK wiki created and maintained by the UESP.net. See CreationKit:Copy Notice for more info.
Difference between revisions of "FadeOutGame - Game"
Jump to navigation
Jump to search
imported>Henning (Formatting cleanup for consistency) |
(No difference)
|
Revision as of 15:27, 7 January 2011
Member of: Game Script
FadeOutGame uses the in-game Fader menu to fade the game to black, or vice versa.
Syntax
Function FadeOutGame(bool abFadingOut, bool abBlackFade, float afSecsBeforeFade, float afFadeDuration) native global
Parameters
- abFadingOut: Fades game out if true. Fades game in if false
- abBlackFade: Fade color is black if true, white if false
- afSecsBeforeFade: Number of seconds to wait before starting the fade-out / -in
- afFadeDuration: How long the fade takes (in seconds)
Return Value
None.
Examples
; Spend 2 seconds on a black screen before fading in to the game over 1 second.
Game.FadeOutGame(false, true, 2.0, 1.0)