IsRunning - Quest

From Creation Kit
Jump to: navigation, search

Member of: Quest Script

Checks to see if this quest is running or not.

Syntax

bool Function IsRunning() native

Parameters

None.

Return Value

Whether this quest is running or not.

Examples

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

Notes

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

See Also