WoW API: SetDungeonDifficulty

From AddOn Studio
Revision as of 22:48, 10 January 2007 by WoWWiki>Haghala
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < SetDungeonDifficulty

SetDungeonDifficulty(difficulty) 

Arguments

"Difficulty" may be any one of the following arguments: 1, 2, 3.


Difficulty:

1 normal
2 heroic
3 epic

Notes

When the change oucure a message will be shown in your default chat.
When you use this function all saved instances will be reset.
"Epic mode" might not work, but will show a nice chatmessage :)

Example

Code

/script SetDungeonDifficulty(1);

Result

"Dungeon difficulty set to Normal (All saved Instances have been reset)" will be shown in your default chat.