player_loadsaved

From Valve Developer Community
Jump to: navigation, search

player_loadsaved is a point entity available in the following GoldSrc GoldSrc games or engine branches:
Half-Life Half-LifeHalf-Life: Opposing Force Half-Life: Opposing Force and Half-Life: Blue Shift Half-Life: Blue Shift.

This entity will reload the latest saved game when triggered. Useful for gameover 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.

Key Values


Targetname:
Name (targetname) <string>
The targetname that other entities refer to this entity by.
Fade Duration(seconds) <integer>
The amount in seconds it will take to fade out.
Hold Fade (seconds) <integer>
The amount in seconds it will take to hold fade.
Fade Alpha (renderamt) <integer>
Alpha of the fade, where 0 = fully transparent and 255 = fully opaque.
Fade Color (R G B) (rendercolor) <color255>
Fade color.
Reload Delay (seconds) <integer>
On Trigger, the amount of time in seconds it will take to reload a save. When set, it will take over Game/Player and reload when prompted.