WoW:API SetDungeonDifficulty: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API SetDungeonDifficulty to API SetDungeonDifficulty without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
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




Difficulty:
Difficulty:
  1 normal
  1 5 players normal
  2 heroic
  2 5 players heroic
3 epic


==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 the saved instances will no more 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 21: Line 19:


  /script SetDungeonDifficulty(1);
  /script SetDungeonDifficulty(1);
/script SetDungeonDifficulty(2);


===Result===
===Result===
"Dungeon difficulty set to Normal (All saved Instances have been reset)" will be shown in your default chat.
"Dungeon difficulty set to 5 player" will be shown in your default chat.
Then "Dungeon difficulty set to 5 player (Heroic)" will be shown in your default chat.
 
3.2.0: 3 (epic) removed and added a new function [[API_SetRaidDifficulty]] for the new split between normal/heroic and 10/25

Latest revision as of 04:47, 15 August 2023

WoW API < SetDungeonDifficulty

SetDungeonDifficulty(difficulty) 

Arguments[edit]

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


Difficulty:

1 5 players normal
2 5 players heroic

Notes[edit]

When the change occurs a message will be shown in your default chat.
When you use this function the saved instances will no more be reset.
There are two more parameters to the function, but it is not currently known what they do.

Example[edit]

Code[edit]

/script SetDungeonDifficulty(1);
/script SetDungeonDifficulty(2);

Result[edit]

"Dungeon difficulty set to 5 player" will be shown in your default chat. Then "Dungeon difficulty set to 5 player (Heroic)" will be shown in your default chat.

3.2.0: 3 (epic) removed and added a new function API_SetRaidDifficulty for the new split between normal/heroic and 10/25