IsObjectiveFailed - Quest

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Quest Script

Obtains whether the specified quest objective is failed or not.

Syntax[edit | edit source]

bool Function IsObjectiveFailed(int aiObjective) native

Parameters[edit | edit source]

  • aiObjective: The objective to check.

Return Value[edit | edit source]

Whether the specified objective is failed or not.

Examples[edit | edit source]

; Is the second objective failed?
if HardQuest.IsObjectiveFailed(2)
  Debug.Trace("You failed the objective!")
endIf

See Also[edit | edit source]