WoW:API Duel: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Formatting)
mNo edit summary
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.

Revision as of 23:48, 10 February 2021

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.