Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetNumFilteredAchievements

Last wiki revision 2022-08-01

Returns the number of achievements after filtering. numFiltered = GetNumFilteredAchievements

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

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

Source

https://warcraft.wiki.gg/wiki/API_GetNumFilteredAchievements · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.