WoW API: InviteUnit

Revision as of 17:41, 24 January 2009 by WoWWiki>Dschiggs ("Several functions no longer accept unit tokens as parameters, and should now be used in conjunction with UnitName("token") instead.")

WoW API < InviteUnit

Invite a player to join your party.

 InviteUnit(playerName); or InviteUnit(UnitName("token")) 

Parameters

Arguments

(String playerName, unit)

UnitName("token")
For example UnitName("target")
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.