Wikia

WoWWiki

API StartDuelUnit

Talk0
101,313pages on
this wiki
WoW API < StartDuelUnit

Invites a player to start a duel.

StartDuelUnit("unit");

Parameters Edit

Arguments Edit

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

Returns Edit

nil

Example Edit

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

Around Wikia's network

Random Wiki