WoW API: InviteUnit
Jump to navigation
Jump to search
← WoW API < InviteUnit
Invite a player to join your party.
InviteUnit(playerName)
Parameters
Arguments
(String playerName)
- 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. Players from other realms can be invited by using this function, like so:
InviteUnit("Player-RealmName")
Presumably this can only be done with RealID friends, though it possibly also works with players in your current cross-realm zone.