IsRunning - Quest

From the CreationKit Wiki
Revision as of 08:50, 29 July 2016 by imported>Thorskin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]