API InviteUnit

From Wowpedia
Jump to: navigation, search

Invite a player to join your party.

InviteUnit("playerName")

Arguments

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

Patch changes

  • Wrath of the Lich King Patch 3.0.8 (2009-01-20): This function originally accepted unitIds as a possible argument, but was changed in the patch to accept only player names.
Code should be updated to use UnitName("unit") instead.
  • The Burning Crusade Patch 2.0.1 (2006-12-05): Added, replacing InviteByName.

See also