Difference between revisions of "GetGameLoaded"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Added GetGameRestarted link)
imported>Haama
(→‎Notes: Clarity)
Line 7: Line 7:


==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.
* Returns true once per ''script'', not per object; i.e., if you have 2 objects with the same script, '''GetGameLoaded''' will return true for only one of them.


== See Also ==
== See Also ==

Revision as of 14:00, 19 October 2008

A command for Oblivion Script Extender

Syntax:

(gameLoaded:bool) GetGameLoaded

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

Notes

  • Returns true once per script, not per object; i.e., if you have 2 objects with the same script, GetGameLoaded will return true for only one of them.

See Also