Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API UnitPvpClassification

From Wowpedia
Jump to: navigation, search

Returns whether the unit is a flag/orb carrier or cart runner.

classification = UnitPvpClassification("unit")

Arguments

unit 
string

Returns

classification 
Enum.PvpUnitClassification (nilable)
Value Type Description
0
FlagCarrierHorde
1
FlagCarrierAlliance
2
FlagCarrierNeutral
3
CartRunnerHorde
4
CartRunnerAlliance
5
AssassinHorde
6
AssassinAlliance
7
OrbCarrierBlue
8
OrbCarrierGreen
9
OrbCarrierOrange
10
OrbCarrierPurple

Patch changes

See also