C_Scenario.GetBonusStepInfo

From Warcraft Wiki
Jump to navigation Jump to search
Links
Info
Added in 5.3.0

Returns the information about the current scenario bonus objective.

name, description, numCriteria, failed = C_Scenario.GetBonusStepInfo()

Returns

name
string - name of the bonus step, e.g. "Bonus: Go for the Gold!", or nil if there is no active bonus objective.
description
string - objective description, e.g. "Get a score of at least 30,000", or nil if there is no active bonus objective
numCriteria
number - number of criteria this bonus objective has.
failed
boolean - true if this bonus objective has been failed, false otherwise.

Patch changes

Mists of Pandaria Patch 5.3.0 (2013-05-21): Added.

See also

  • C_Scenario.GetBonusCriteriaInfo