WoW API: SetDungeonDifficulty

From AddOn Studio
Revision as of 04:47, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API SetDungeonDifficulty to API SetDungeonDifficulty without leaving a redirect)
(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


Difficulty:

1 5 players normal
2 5 players heroic

Notes

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

Code

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

Result

"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