StartDuel

From Warcraft Wiki
(Redirected from API StartDuelUnit)
Jump to navigation Jump to search
GitHub Octocat.png  Townlong-Yak Globe.png  Wowprogramming.png StartDuel 11.1.5 (60428)4.4.2 (59734)1.15.7 (60191) + 1.0.0 / 1.13.2
GitHub Octocat.png  Townlong-Yak Globe.png StartDuelUnit + 1.0.0

Challenges the specified player to a duel.

StartDuel(unit)
StartDuel(name [, exactMatch])

Arguments

unit
string : UnitId - The unit id of the unit.
name
string - The name of the unit.
exactMatch
boolean? - true to check only units whose name exactly matches the name given; false to allow partial matches.

Details

  • StartDuel("player") is an apparent special case, creating a mouse cursor to select someone else to duel against.

Patch changes

See also

References

 
  1. ^ 2004-12-06, ChatFrame.lua, version 1.1.2.4115, near line 999, archived at Townlong-Yak
  2. ^ 2004-12-06, UnitPopup.lua, version 1.1.2.4115, near line 352, archived at Townlong-Yak