SetObjectiveCompleted

Revision as of 10:55, 26 November 2008 by imported>Kkuhlmann
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

SetObjectiveCompleted Turns a quest objective on or off.

Syntax

SetObjectiveCompleted QuestName, Index, CompletedFlag (0/1) 

Examples

SetObjectiveCompleted MyQuest 10 1

Marks objective 10 in MyQuest as completed.

Notes

  • If the quest itself is not complete, AND the objective is currently being displayed, the player will receive an "Objective Completed" message.
  • If the quest itself is already complete, no message will be displayed (although the objective will still be marked as completed).
  • Completed objectives (which are also set to being displayed) show up as "greyed out" in the interface.


See Also

CompleteAllObjectives
SetObjectiveDisplayed
GetObjectiveCompleted

Reference

None provided.