Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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[]
Patch 1.0.0 (2004-10-08): Added StartDuel()
[1] and StartDuelUnit()
[2].
See also[]
- AcceptDuel()
- CancelDuel()
References[]
- ^ 2004-12-06, ChatFrame.lua, version 1.1.2.4115, near line 999, archived at Townlong-Yak
- ^ 2004-12-06, UnitPopup.lua, version 1.1.2.4115, near line 352, archived at Townlong-Yak