Lore archive · Warcraft Wiki, 2023 dump
API GetArchaeologyRaceInfo
Last wiki revision 2022-08-01
Returns the information for a specific race used in Archaeology. raceName, raceTexture, raceItemID, numFragmentsCollected, numFragmentsRequired, maxFragments = GetArchaeologyRaceInfo(raceIndex)
- raceIndex: - Index of the race to query, between 1 and.
- raceName: - Name of the race.
- raceTexture: (fileID) - The texture used by this race in the Archaeology UI.
- raceItemID: - Item ID of the Keystone used for the race's archaeology projects. Will be nil for Fossil as no such item exists.
- numFragmentsCollected: - Number of collected fragments for this race.
- numFragmentsRequired: - Number of fragments required to solve the current artifact
- maxFragments: - Maximum number of fragments that can be carried
The snippet below prints the name of every Archaeology race. for i=1, GetNumArchaeologyRaces do print((GetArchaeologyRaceInfo(i))) end
- Returns "UNKNOWN", nil, 0, 0, 0, 0 if the is out of bounds.
- The following textures are used:
Source
https://warcraft.wiki.gg/wiki/API_GetArchaeologyRaceInfo · 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.