Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
Advertisement

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.

Details[]

  • Do not prehook this function in Classic Wrath as the LFG/Group Finder uses it directly. Only Secure Hook it.

Patch changes[]

Wrath-Logo-Small 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.

Bc icon Patch 2.0.1 (2006-12-05): Added, replacing InviteByName.

See also[]

Advertisement