WoW:API Duel: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API Duel to API Duel without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<center>'''Duel()''' ''-Documentation by AlexanderYoshi-''</center>
{{wowapi|removed=(unknown, very early)|replace=Use [[API StartDuelUnit|StartDuelUnit]] instead}}
 
Invites the specified player to a duel.
Invites the specified player to a duel.


  Duel(playerName);
  Duel(playerName)
 
----
;''Arguments''
 
:(String playerName)
 
:;playerName : The name of the player you wish to duel


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


:;nil
=== Returns ===
: none


----
== Example ==
;''Example''
  Duel("Sembiance");
  Duel("Sembiance");


;''Result''
;Result
 
: Invite Sembiance to duel you.
----
;''Description''
 
: Invites the specified player to a duel. (Warning, could not find it in any existing code, not sure if it still is a valid function)
: But you can just type /duel or whatever if they're close.
 
 
----
{{WoW API}}

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.