Navigation menu

WoW:API InviteUnit: Difference between revisions

Jump to navigation Jump to search
"Several functions no longer accept unit tokens as parameters, and should now be used in conjunction with UnitName("token") instead."
(fix erronous summary text)
("Several functions no longer accept unit tokens as parameters, and should now be used in conjunction with UnitName("token") instead.")
Line 1: Line 1:
{{wowapi}}__NOTOC__
{{wowapi}}__NOTOC__
Invite a player to join your party.  
Invite a player to join your party.  
<pre> InviteUnit(playerName); or InviteUnit("target") </pre>
<pre> InviteUnit(playerName); or InviteUnit(UnitName("token")) </pre>


== Parameters ==
== Parameters ==
Line 7: Line 7:
(String playerName, unit)  
(String playerName, unit)  


:; "[[unitId|Unit]]" : The unit you would like to invite to a group.
:; [[API_UnitName|UnitName]]("token") : For example UnitName("target")
:; playerName : The name of the player you would like to invite to a group.  
:; playerName : The name of the player you would like to invite to a group.  


Anonymous user