UnitIsCivilian

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.6.0

Determine whether a unit is a civilian (low level enemy faction NPC that counts as a dishonorable kill).

isCivilian = UnitIsCivilian(unit)

Arguments

unit
string - Only works on enemy faction NPCs.

Returns

isCivilian
boolean

Patch changes

Bc icon.gif Patch 2.3.0 (2007-11-13): Removed. Dishonorable kills were removed from the Honor system.
WoW Icon update.png Patch 1.6.0 (2005-07-12): Added.