player_loadsaved

From Source Entities
Jump to navigation Jump to search

Code classes:

player_loadsaved is a point entity present in all Source games. In singleplayer, it reloads the last save after fading the screen out. In Hl2.png this is used sometimes to automatically reload after the player does something like knock their car off a cliff. It will also stop the player from moving.

Keyvalues[edit | edit source]

Fade Duration (duration) <float>
How long it should take for the Fade Color to fade in.
Hold Fade (holdtime) <float>
How long the fade should stay for.
Reload delay (loadtime) <float>
Once the Reload input is sent, how many to seconds to wait before reloading.
Fade Color (rendercolor) <color255>
Color to fade out to.
Fade Alpha (renderamt) <integer>
Strength of the color. Leave this at 255 to replace the player's view entirely.

Inputs[edit | edit source]

Reload
Fades the screen out and reloads.
Color (Not in FGD) <color255>
Sets Fade Color.
Alpha (Not in FGD) <integer>
Sets Fade Alpha.