A function added by the Fallout Script Extender.
Returns 1 when the game is restarted on a per-script basis. For each script that calls GetGameRestarted, the command returns true exactly once per game session. Useful for situations in which a script must set certain object properties or settings each time the game is started.
- To clarify, this function will return true when a game is restarted, restarted meaning starting a new game or loading a save from the main menu. It does not trigger on reloading a save after death or from the pause menu. See GetGameLoaded if that functionality is needed.
- If this function is used more than once in a script, the second instance of it will return false. Therefore it's crucial that any relevant parts of the script are kept within a single instance of this function.