StartDuel

From Warcraft Wiki
(Redirected from API StartDuelUnit)
Jump to navigation Jump to search
Wowprogramming.png  BTNTemp.png StartDuel TheWarWithin-Icon-Inline.pngDragonflight-Icon-Inline.pngCata-Logo-Small.pngWrath-Logo-Small.pngWoW Icon update.png + 1.0.0 / 1.13.2
BTNTemp.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

WoW Icon update.png Patch 1.0.0 (2004-10-08): Added StartDuel()[1] and StartDuelUnit()[2].

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