WoW:API Duel: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Formatting)
m (Move page script moved page API Duel to API Duel without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{wowapi}}
{{wowapi|removed=(unknown, very early)|replace=Use [[API StartDuelUnit|StartDuelUnit]] instead}}
{{removedapi|(unknown, very early)|Use [[API StartDuelUnit|StartDuelUnit]] instead.}}
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.
: Invite Sembiance to duel you.

Latest revision as of 04:45, 15 August 2023

WoW API < Duel

Invites the specified player to a duel.

Duel(playerName)

Parameters[edit]

Arguments[edit]

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

Returns[edit]

none

Example[edit]

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