API SetDungeonDifficultyID

From Wowpedia
Jump to: navigation, search

Changes the player's current dungeon difficulty.

SetDungeonDifficultyID(difficultyIndex)

Arguments

difficultyIndex 
Number
1 → 5 Player
2 → 5 Player (Heroic)
8 → Challenge Mode

Notes

When the change occurs, a message will be displayed in the default chat frame.

Details

The above arguments are also returned from GetDungeonDifficultyID().

Patch history

Mists of Pandaria Patch 5.0.4 (2012-08-28): Renamed from SetDungeonDifficulty(difficultyIndex). Challenge Mode added to index.
Wrath of the Lich King Patch 3.2.0 (2009-08-04): "3 → Epic" removed from index. Related function added: SetRaidDifficulty(difficultyIndex).

See also