WoW:API SetDungeonDifficulty: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (spelling)
No edit summary
Line 15: Line 15:
When the change occurs a message will be shown in your default chat.<br>
When the change occurs a message will be shown in your default chat.<br>
When you use this function all saved instances will be reset.<br>
When you use this function all saved instances will be reset.<br>
"Epic mode" might not work, but will show a nice chatmessage :)
"Epic mode" might not work, but will show a nice chatmessage :)<br>
There are two more parameters to the function, but it is not currently known what they do.
==Example==
==Example==
===Code===
===Code===

Revision as of 05:08, 25 February 2008

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 occurs 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 :)
There are two more parameters to the function, but it is not currently known what they do.

Example

Code

/script SetDungeonDifficulty(1);

Result

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