GetArtifactProgress

From Wowpedia
Revision as of 05:02, 14 February 2020 by Ddcorkum (talk | contribs) (→‎Patch changes: 4.0.1)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns information about current used fragments for the selected artifact.

numFragmentsCollected, numFragmentsAdded, numFragmentsRequired = GetArtifactProgress();

Returns

numFragmentsCollected 
Number - Number of collected fragments for selected artifact.
numFragmentsAdded 
Number - Number of fragments currently added through keystones for selected artifact.
numFragmentsRequired 
Number - Number of fragments required to solve the selected artifact.

Example

My selected Project requires 45 fragments, i have 22 fragments and a Keystone slot which i do not use. Result 22 0 45 The same project, this time the Keystone slot is used. Result 22 12 45

Patch changes

Cataclysm Patch 4.0.1 / API changes (2010-10-12): Added.

Also See

SetSelectedArtifact(raceIndex)