Morrowind Mod:ScriptRunning

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

ScriptRunning

                ScriptRunning, ScriptName

       Where:   ScriptName = Name of the script to check

        Type:   Script

     Returns:   short

     Example:   if ( ScriptRunning, CharGen == 1 )

     Scripts:   Main

Returns 1 if the given script is running as a global script, or 0 otherwise.

See Also: StartScript, StopScript