WoW API: InviteUnit

Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API InviteUnit to API InviteUnit without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < InviteUnit

Invite a player to join your party.

 InviteUnit(playerName) 

ParametersEdit

ArgumentsEdit

(String playerName)

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

ReturnsEdit

nil

ExampleEdit

 InviteUnit("Dyselon"); 

ResultEdit

DescriptionEdit

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.

Past changesEdit

Template:Patch 3.0.8