Wowpedia
Advertisement
Wowpedia
240,511
pages
Game Flavors
Links
Patch
Added in 7.0.3

Returns the number of achievements that match the search string specified calling SetAchievementSearchString

numFiltered = GetNumFilteredAchievements()

Returns

numFiltered 
number - The number of achievements that match the search string.

Example

The following snippet lists the names of all achievements containing the word 'flame':

SetAchievementSearchString("flame");
local numFiltered = GetNumFilteredAchievements();

for idx = 1, numFiltered do
  local achievementID = GetFilteredAchievementID(idx);
  local _, achievementName = GetAchievementInfo(achievementID);
  print(achievementName);
end

Patch changes

See also

Advertisement