Difference between revisions of "IsRunning - Quest"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Rhavlovick
m (1 revision: Clobber re-import by Henning)
 
imported>Thorskin
 
Line 23: Line 23:
endIf
endIf
</source>
</source>
== Notes ==
* If the quest has a startup stage, IsRunning() remains false until the fragment scripts of this stage end their execution.


== See Also ==
== See Also ==
*[[Quest Script]]
*[[Quest Script]]
*[[Stop - Quest]]
*[[Stop - Quest]]

Latest revision as of 08:50, 29 July 2016

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]