WoW:API Duel: Difference between revisions

(use removedapi template)
m (Move page script moved page API Duel to API Duel without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{removedapi|(unknown, very early)|It was replaced by [[API StartDuelUnit|StartDuelUnit]].}}
{{wowapi|removed=(unknown, very early)|replace=Use [[API StartDuelUnit|StartDuelUnit]] instead}}
 
<center>'''Duel()''' ''-Documentation by AlexanderYoshi-''</center>
 
Invites the specified player to a duel.
Invites the specified player to a duel.


  Duel(playerName);
  Duel(playerName)


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


:(String playerName)
=== Returns ===
: none


:;playerName : The name of the player you wish to duel
== Example ==
 
----
;''Returns''
 
:;nil
 
----
;''Example''
  Duel("Sembiance");
  Duel("Sembiance");


;''Result''
;Result
 
: Invite Sembiance to duel you.
----
;''Description''
 
: Invites the specified player to a duel.
 
 
----
{{WoW API}}

Latest revision as of 04:45, 15 August 2023

WoW API < Duel

Invites the specified player to a duel.

Duel(playerName)

Parameters

Arguments

  • playerName (string) - The name of the player you wish to duel

Returns

none

Example

Duel("Sembiance");
Result
Invite Sembiance to duel you.