WoW:API SetDungeonDifficulty: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(Updated page for patch 3.2 change to dungeon difficulties)
Line 4: Line 4:


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




Difficulty:
Difficulty:
  1 normal
  1 5 or 10 players normal
  2 heroic
  2 5 players heroic / 25 players normal
  3 epic
  3 10 players heroic
4 25 players heroic


==Notes==
==Notes==
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 :)<br>
There are two more parameters to the function, but it is not currently known what they do.
There are two more parameters to the function, but it is not currently known what they do.
==Example==
==Example==
Line 24: Line 24:
===Result===
===Result===
"Dungeon difficulty set to Normal (All saved Instances have been reset)" will be shown in your default chat.
"Dungeon difficulty set to Normal (All saved Instances have been reset)" will be shown in your default chat.
3.2.0: 3 (epic) removed and added 3-4 for new split between normal/heroic and 10/25

Revision as of 17:22, 20 August 2009

WoW API < SetDungeonDifficulty

SetDungeonDifficulty(difficulty) 

Arguments

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


Difficulty:

1 5 or 10 players normal
2 5 players heroic / 25 players normal
3 10 players heroic
4 25 players heroic

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.
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.

3.2.0: 3 (epic) removed and added 3-4 for new split between normal/heroic and 10/25