API C_Scenario.GetProvingGroundsInfo

From Wowpedia
Jump to: navigation, search

Returns information about the current Proving Grounds trial.

difficulty, curWave, maxWave, duration = C_Scenario.GetProvingGroundsInfo()

Returns

difficulty 
Number - difficulty ID of the current trial, 1 for bronze.
curWave 
Number - current wave index, ascending from 1.
maxWave 
Number - number of waves in the trial.
duration 
Number - total amount of time allotted to complete the current wave; 0 if the wave is not time-limited.

Details

  • If no Proving Grounds trial is currently active, all four return values are 0.
  • The duration represents the total amount of time allotted to complete the current wave, and does not change. The actual counting-down timer is available through GetWorldElapsedTime.

Patch history

Mists of Pandaria Patch 5.4.0 (2013-09-10): Added.