no edit summary
m (→Arguments) |
No edit summary |
||
| Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | {{wowapi}} __NOTOC__ | ||
Returns information about the given Achievement's specified criteria. | Returns information about the given Achievement's specified criteria. | ||
criteriaString, criteriaType, completed, quantity, reqQuantity, | |||
criteriaString, criteriaType, completed, quantity, reqQuantity, charName, flags, assetID, quantityString, criteriaID = GetAchievementCriteriaInfo(achievementID, criteriaNum); | charName, flags, assetID, quantityString, criteriaID = | ||
GetAchievementCriteriaInfo(criteriaID or achievementID, criteriaNum); | |||
== Arguments == | == Arguments == | ||
(achievementID, criteriaNum) | |||
:;achievementID : Number - The ID of the Achievement | |||
:;criteriaNum : Number - The number for the specific criteria. Between 1 and [[API_GetAchievementNumCriteria|GetAchievementNumCriteria]](achievementID) | |||
:;achievementID : | |||
:;criteriaNum : | |||
:;criteriaID : | (criteriaID) | ||
:;criteriaID : Number - The ID of the criteria. | |||
'''''Warning:''' If you use criteriaID as an argument, do not include a number as the second argument or the client will crash. | '''''Warning:''' If you use criteriaID as an argument, do not include a number as the second argument or the client will crash. | ||