Difference between revisions of "GetGameLoaded"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Scruggs
imported>Scruggs
Line 7: Line 7:


Notes:
Notes:
* It seems that checking this function resets the flag, so it may be the case that if more than one script tries to call it, only the first call will return true.
* Calling this function resets the flag for the calling script only, which means that it will return true once for each script that calls it after a game has been loaded.


[[Category:OBSE Functions]]  
[[Category:OBSE Functions]]  
[[Category:OBSE Flow Control Functions]] [[Category:OBSE Miscellaneous Functions]]
[[Category:OBSE Flow Control Functions]] [[Category:OBSE Miscellaneous Functions]]

Revision as of 13:11, 11 December 2006

Requires OBSE v0009 or higher.

Syntax:

if ( GetGameLoaded )

Returns true if a savegame has been loaded since the function was last called.

Notes:

  • Calling this function resets the flag for the calling script only, which means that it will return true once for each script that calls it after a game has been loaded.