WoW API: StartDuelUnit

Revision as of 04:47, 15 August 2023 by Move page script (talk) (Move page script moved page API StartDuelUnit to API StartDuelUnit without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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