IsRunning - Quest

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Quest Script

Checks to see if this quest is running or not.

Syntax[edit | edit source]

bool Function IsRunning() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

Whether this quest is running or not.

Examples[edit | edit source]

; Is the main quest running?
if (MainQuestProperty.IsRunning())
  Debug.Trace("The main quest is running")
endIf

Notes[edit | edit source]

  • If the quest has a startup stage, IsRunning() remains false until the fragment scripts of this stage end their execution.

See Also[edit | edit source]