GetGameRestarted

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Fallout Script Extender.

Description

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.

Syntax

[help]
(int) GetGameRestarted

Notes

  • 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.

See Also