Difference between revisions of "GetGameLoaded"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Odessa
(see also)
imported>ZuTheSkunk
 
Line 5: Line 5:
  |returnType = int
  |returnType = int
}}
}}
==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==
==See Also==
*[[GetGameRestarted]]
*[[GetGameRestarted]]
[[Category:Functions_(FOSE)]]
[[Category:Functions_(FOSE)]]

Latest revision as of 12:53, 18 July 2016

< [[::Category:Functions|Category:Functions]]

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

  • 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