WoW:API StartDuelUnit: Difference between revisions
No edit summary |
m (Move page script moved page API StartDuelUnit to API StartDuelUnit without leaving a redirect) |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{wowapi}}__NOTOC__ | {{wowapi}}__NOTOC__ | ||
{{removedapi|2.0|For alternatives, try [[API StartDuel|StartDuel]]}} | |||
Invites a player to start a duel. | Invites a player to start a duel. | ||
| Line 16: | Line 18: | ||
StartDuelUnit(unit); | StartDuelUnit(unit); | ||
end | end | ||
Latest revision as of 04:47, 15 August 2023
← WoW API < StartDuelUnit
This is no longer a part of the World of Warcraft API.
|
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