WoW:API StartDuelUnit: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
Line 16: Line 16:
   StartDuelUnit(unit);
   StartDuelUnit(unit);
  end
  end
--[[User:Bull3t|Bull3t]] 11:50, 27 September 2006 (EDT)

Revision as of 16:41, 27 September 2006

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