IsObjectiveFailed - Quest

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