→Description
m (clean up using AWB) |
|||
| Line 18: | Line 18: | ||
== Description == | == Description == | ||
Invites the specified playerName to your group. | Invites the specified playerName to your group. Players from other realms can be invited by using this function, like so: | ||
<pre>InviteUnit("Player-RealmName")</pre> | |||
Presumably this can only be done with RealID friends, though it possibly also works with players in your current cross-realm zone. | |||
== Past changes == | == Past changes == | ||
{{Patch 3.0.8|note=This function originally accepted "token" as a possible argument, but was changed in the patch to accept only player names.|comment=Code should be updated to use [[API UnitName|UnitName]]("token") instead.}} | {{Patch 3.0.8|note=This function originally accepted "token" as a possible argument, but was changed in the patch to accept only player names.|comment=Code should be updated to use [[API UnitName|UnitName]]("token") instead.}} | ||