GetGameLoaded

From GECK
Jump to: navigation, search


A function added by the Fallout Script Extender.

Description

Returns 1 after a game is loaded on a per-script basis. For each script that calls GetGameLoaded, the command will return true exactly once each time the game is loaded and false thereafter.

Syntax

[help]
(int) GetGameLoaded 

Notes

  • To clarify, this function will return true when loading a game from the main menu, reloading after death or loading a game from the pause menu. But will NOT return true if using CenterOnCell from the main menu after previously being in game.
  • If this function is used more than once in a single 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