DataType:achievementobj

From the wonderful RedGuides Wiki

Represents a single objective of an achievement


This Data Type is referenced in MacroQuest, and accessed by Top-Level Object(s): Achievement
achievementobj is used as a return type by these members:  [ Toggle ]

Page Member Description
achievement ObjectiveByIndex[#] Find an objective by its visual ordering as displayed in the achievements window.
Objective[#|Description] Find an objective by its objective ID or Description.

Members

Type Member Description
bool Completed True if the objective has been completed.
int Count The current count recorded by the objective.
ID The objective's unique ID.
Index Visual index of the objective as displayed in the achievement window. Can be used with Achievement.ObjectiveByIndex.
RequiredCount The total count required to be complete the objective. For objectives that don't require a count, this will be zero.
string Description Text describing this objective.

Examples

See also