Difference between revisions of "GetGameLoaded"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
(Automated import of articles)
 
imported>ZuTheSkunk
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''GetGameLoaded'''
{{Function
{{Function
  |origin = FOSE1
  |origin = FOSE1
Line 6: 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==
*[[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