IsObjectiveFailed - Quest

Revision as of 16:28, 17 November 2015 by imported>Plplecuyer (→‎Examples)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Quest Script

Obtains whether the specified quest objective is failed or not.

SyntaxEdit

bool Function IsObjectiveFailed(int aiObjective) native

ParametersEdit

  • aiObjective: The objective to check.

Return ValueEdit

Whether the specified objective is failed or not.

ExamplesEdit

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

See AlsoEdit