SetObjectiveCompleted

DescriptionEdit

SetObjectiveCompleted Turns a quest objective on or off.

SyntaxEdit

SetObjectiveCompleted QuestName, Index, CompletedFlag (0/1) 

ExamplesEdit

SetObjectiveCompleted MyQuest 10 1

Marks objective 10 in MyQuest as completed.

NotesEdit

  • 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 AlsoEdit

CompleteAllObjectives
SetObjectiveDisplayed
GetObjectiveCompleted

ReferenceEdit

None provided.