WoW:API StartDuel: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(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).
 
----

Revision as of 11:31, 24 December 2006

WoW API < StartDuel

Invites the specified player to a duel.

StartDuel(playerName);

Parameters

Arguments

playerName
The name of the player you wish to duel

Example

StartDuel("Sembiance");

Result

Invites Sebiance to start a duel with you.

Notes

Currently only works for members of the same faction (1.6.1).