WoW:API StartDuelUnit: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Noted that this function has been removed.)
(Typo fixing using AWB)
Line 1: Line 1:
{{wowapi}}__NOTOC__
{{wowapi}}__NOTOC__
{{removedapi|2.0|For alternatives, try [[API_StartDuel|StartDuel]]}}
{{removedapi|2.0|For alternatives, try [[API StartDuel|StartDuel]]}}


Invites a player to start a duel.
Invites a player to start a duel.

Revision as of 14:05, 1 August 2008

WoW API < StartDuelUnit

Invites a player to start a duel.

StartDuelUnit("unit");

Parameters

Arguments

("unit")
unit
String - The name of the player to invite to duel.

Returns

nil

Example

This function can be called with the varibale "unit" as the player that should be invited to duel.
function startDuel(unit)
  StartDuelUnit(unit);
end