WoW:API StartDuel: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API StartDuel to API StartDuel without leaving a redirect)
 
(6 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{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===
;''Result''
Invites Sembiance to start a duel with you.
 
----
;''Description''
 
: Invites the specified player to a duel. Currently only works for members of the same faction (1.6.1).
 
----
{{Template:WoW API}}

Latest revision as of 04:47, 15 August 2023

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 Sembiance to start a duel with you.