API GetArchaeologyRaceInfo

Returns the information for a specific race used in Archaeology.

raceName, raceTexture, raceItemID, numFragmentsCollected, numFragmentsRequired = GetArchaeologyRaceInfo(raceIndex)

Arguments

 * raceIndex : Number - Index of the race to query; ascending from 1.

Returns

 * raceName : String - Name of the race.
 * raceTexture : String - Path to the texture used by this race in the Archaeology UI.
 * raceItemID : Number - The itemID for the Keystone this race uses.
 * numFragmentsCollected : Number - Number of collected fragments for this race.
 * numFragmentsRequired : Number - Number of fragments required to solve the current artifact

Example
The snippet below prints the name of every Archaeology race. local raceCount = GetNumArchaeologyRaces; for i=1,raceCount do local raceName = GetArchaeologyRaceInfo(i); print(raceName); end

Details

 * Returns UNKNOWN,0,nil,0 if the raceIndex is out of bounds (<=0 or >GetNumArchaeologyRaces)