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)
 
(7 intermediate revisions by 7 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 ==
=== Arguments ===
* playerName (string) - The name of the player you wish to duel


----
=== Returns ===
;''Returns''
: none


:;nil
== 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)
 
----
{{Template: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.