Garry's Mod Wiki

SCREENFADE

Description

Bitflags used by Player:ScreenFade.

Values

0Instant fade in, wait for hold time AND fade time, instant fade out.

Not a real flag, but rather describes what happens when given none.

SCREENFADE.IN1Instant fade in, slowly fade out (based on fade time given) after the hold time has passed
SCREENFADE.OUT2Slowly fade in (based on fade time given), hold time passes, instantly disappear
SCREENFADE.MODULATE4Instead of blending multiple active screen fades, modulate them. (TODO: What does this mean?) Internally this flag switches what material will be used to render the screen fade. Practically it forces the color to black.
SCREENFADE.STAYOUT8Never disappear. Does nothing by itself, as if no flags were given.
SCREENFADE.PURGE16Used to purge all currently active screen fade effects, meant to be used in conjunction with flags above as a "priority effect".

Does nothing by itself, acts as if no flags were given