WoW:API StartDuel: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
({{protectedapi}}, format)
m (I'm pretty sure this works cross-faction. "/duel {enemy name}" works.)
Line 12: Line 12:
===Result===
===Result===
  Invites Sebiance to start a duel with you.
  Invites Sebiance to start a duel with you.
==Notes==
Currently only works for members of the same faction (1.6.1).

Revision as of 22:52, 22 November 2007

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.