IsObjectiveFailed - Quest

From the CreationKit Wiki
Revision as of 11:26, 25 September 2014 by imported>Terra Nova2 (< / source> was missing.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]