GetArtifactProgress
Revision as of 07:46, 3 March 2011 by Æli76737@legacy41592048 (talk | contribs) (Created page with "{{wowapi}} __NOTOC__ <!-- Describe the purpose of the function, exhausting detail can be saved for a later section --> Returns information about current used fragments for the se...")
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
The following functions are getting pointed to the current nightelf-project (raceIndex 4)
Also See
- SocketItemToArtifact()
- RemoveItemFromArtifact()
- CanItemBeSocketedToArtifact(itemID)
- GetActiveArtifactByRace(raceIndex)
- GetSelectedArtifactInfo()
- GetArtifactProgress()