WoW API < StartDuelUnit

Invites a player to start a duel.

StartDuelUnit("unit");

Parameters[edit | edit source]

Arguments[edit | edit source]

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

Returns[edit | edit source]

nil

Example[edit | edit source]

This function can be called with the varibale "unit" as the player that should be invited to duel.
function startDuel(unit)
  StartDuelUnit(unit);
end
Community content is available under CC-BY-SA unless otherwise noted.