This article's documentation is for anything that uses the Source engine. Click here for more information.

player_loadsaved

From Valve Developer Community
Jump to navigation Jump to search

player_loadsaved is a point entity available in all Source Source games.

Entity Description

This entity will reload the latest saved game when triggered. Useful for game over screens if an important NPC dies, or a crucial object is lost. Can be used together with env_message to display an appropriate text message.

Keyvalues

Fade Duration (seconds) (duration) <string>
Hold Fade (seconds) (holdtime) <string>
Fade Alpha (renderamt) <integer>
Fade Color (R G B) (color) <color255>
Reload delay (loadtime) <string>
Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

Reload
Ends this game and reloads


Outputs