SetObjectiveCompleted
Revision as of 12:33, 12 August 2009 by imported>Geckbot (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
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.