ScarDoc

Start typing to search the SCAR reference.

Function
Util

Util_AutoSave

Automatically save the game for the player. The savegame name is built using the abbreviated mission name + checkpoint. You can optionally have it wait until the player is out of combat.

On this page
Util_AutoSave(arg1, waitUntilOutOfCombat, onlyCareAboutCombatOnScreen, maxWaitTime)

Description

This function checks the user setting regarding autosaves (so you don't have to!), and does nothing if the player has them disabled.

Parameters

  • arg1Unknownrequired
  • waitUntilOutOfCombatBooleanoptional
  • onlyCareAboutCombatOnScreenBooleanoptional
  • maxWaitTimeRealoptional

Returns

Void

Source

Declared in the game's script sources at:

scar/scarutil.scar