WoW:API StartDuel: Difference between revisions

{{protectedapi}}, format
(Removed obsolete WoW API template and added {{wowapi}})
({{protectedapi}}, format)
Line 1: Line 1:
{{wowapi}}
{{wowapi}} __NOTOC__
{{protectedapi|2.0.1|Will be unprotected in 2.0.x.}}
Invites the specified player to a duel.
Invites the specified player to a duel.
  StartDuel(playerName);
  StartDuel(playerName);


----
==Parameters==
;''Arguments''
===Arguments===
 
:(String playerName)
 
:;playerName : The name of the player you wish to duel
:;playerName : The name of the player you wish to duel


----
==Example==
;''Returns''
 
:;nil
 
----
;''Example''
  StartDuel("Sembiance");
  StartDuel("Sembiance");
===Result===
Invites Sebiance to start a duel with you.


;''Result''
==Notes==
 
Currently only works for members of the same faction (1.6.1).
----
;''Description''
 
: Invites the specified player to a duel. Currently only works for members of the same faction (1.6.1).
 
----