UnitIsCivilian

From Wowpedia
Jump to: navigation, search

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

Retail

Classic