InviteUnit
Jump to navigation
Jump to search
![]() ![]() ![]() ![]() |
C_PartyInfo.InviteUnit |
![]() ![]() ![]() |
+ 8.2.5 |
![]() ![]() |
InviteUnit |
![]() |
+ 2.0.1, - 8.2.5 |
![]() |
InviteByName |
+ 1.0.0, - 2.0.1 |
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
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.
- Code should be updated to use UnitName("unit") instead.
Patch 2.0.1 (2006-12-05): Added, replacing
InviteByName
.
See also
- UninviteUnit
- InviteToGroup