SetObjectiveFailed - Quest

Revision as of 17:58, 25 October 2011 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Quest Script

Sets whether the specified quest objective is failed or not.

SyntaxEdit

Function SetObjectiveFailed(int aiObjective, bool abFailed = true) native

ParametersEdit

  • aiObjective: The objective to flag as failed or not.
  • abFailed: Whether to flag this objective as failed.
    • Default: true

Return ValueEdit

None.

ExamplesEdit

; Set the 10th objective to be failed
MyQuest.SetObjectiveFailed(10)


; Set the 10th objective to be un-failed
MyQuest.SetObjectiveFailed(10, false)

See AlsoEdit