Autosave

From ZDoom Wiki

Jump to: navigation, search

15:Autosave (No parameters required)

Usage

Automatically saves the game to an autosave slot.

Examples

Usually this is set on a line making sure not to set it to be repeatable. If you were to be generous, you could set up a safety script like this:

script 10 (void)
{
	if (GetActorProperty(0, APROP_HEALTH) > 10)
		Autosave();
}

This sort of script will prevent the game from saving when the player's health is too low, as it can be considered annoying to overwrite a previous save when the player is in a dire situation.

Personal tools