WoW API: StartDuelUnit

From AddOn Studio
Jump to navigation Jump to search

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