WoW:API UnitPVPRank: Difference between revisions
Jump to navigation
Jump to search
UnitPVPRank -Documentation by Chef_de_Loup-
mNo edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
: Returns the rank as a Number for player. | : Returns the rank as a Number for player. | ||
---- | ---- | ||
{{ | {{WoW API}} | ||
Revision as of 05:36, 4 January 2006
Returns PVP info for the selected target
UnitPVPRank("unit");
- Arguments
- "unit" : UnitID of the requested Unit like "target","player"....
- Returns
- Integer rankNumber
- rankNumber
- Display the rank as a number. Starts at 5(!) not at 1 for first rank. 0 if the unit has no rank.
- Example
local rankNumber = UnitPVPRank("player");
- Result
5
- Description
- Returns the rank as a Number for player.