Difference between revisions of "GetGameLoaded"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Scruggs
imported>WereWolf
Line 1: Line 1:
Requires OBSE v0009 or higher.
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]


Syntax:
'''Syntax:'''
  if ( GetGameLoaded )
  GetGameLoaded


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


Notes:
==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.
* 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]]-->
 
[[Category:Functions]]
[[Category:Functions (OBSE)]]
[[Category:Miscellaneous Functions]]
[[Category:Miscellaneous Functions (OBSE)]]

Revision as of 03:57, 15 September 2007

A command for Oblivion Script Extender

Syntax:

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.