WoW:API InviteUnit: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
(fix erronous summary text)
Line 1: Line 1:
{{wowapi}}__NOTOC__
{{wowapi}}__NOTOC__
Add a friend to your friend list.  
Invite a player to join your party.  
<pre> InviteUnit(playerName); or InviteUnit("target") </pre>
<pre> InviteUnit(playerName); or InviteUnit("target") </pre>



Revision as of 10:20, 3 August 2007

WoW API < InviteUnit

Invite a player to join your party.

 InviteUnit(playerName); or InviteUnit("target") 

Parameters

Arguments

(String playerName, unit)

"Unit"
The unit you would like to invite to a group.
playerName
The name of the player you would like to invite to a group.

Returns

nil

Example

 InviteUnit("Dyselon"); 

Result

Description

Invites the specified playerName to your group.