WoW:API InviteUnit: Difference between revisions
Jump to navigation
Jump to search
(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(" | <pre> InviteUnit(playerName); or InviteUnit(UnitName("token")) </pre> | ||
== Parameters == | == Parameters == | ||
Line 7: | Line 7: | ||
(String playerName, unit) | (String playerName, unit) | ||
:; | :; [[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. | ||
Revision as of 17:41, 24 January 2009
← WoW API < InviteUnit
Invite a player to join your party.
InviteUnit(playerName); or InviteUnit(UnitName("token"))
Parameters
Arguments
(String playerName, unit)
- UnitName("token")
- For example UnitName("target")
- playerName
- The name of the player you would like to invite to a group.
Returns
nil
Example
InviteUnit("Dyselon");
Result
Description
Invites the specified playerName to your group.