IsScriptMarkedOnLoad

From GECK
Jump to: navigation, search


A function added by the SUP NVSE Plugin.

Description

Checks if specified script form is marked by MarkScriptOnLoad after user loaded savegame.

Syntax

[help]
(int) IsScriptMarkedOnLoad ScriptForm:script

Example

set iLoaded to IsScriptMarkedOnLoad MyQuestScript
Will return 0/1 depending if script called MarkScriptOnLoad command after last loaded savegame.

Notes

  • This functions is useful when you want to make sure that script B runs after script A after loading a savegame.
  • This functions doesn't have any connection with GetGameLoaded array. You can't check if script in the GetGameLoaded array using this function.

See Also