Lua Unit Flags

Details

 * type
 * integer


 * value
 * Integer value of the flags associated with this unit.

Known Values

 * None = 0,
 * NotSitting = 0x1
 * SelectableNotAttackable_1 = 0x2
 * Influenced = 0x4
 * PlayerControlled = 0x8
 * Totem = 0x10
 * Preparation = 0x20
 * PlusMob = 0x40
 * SelectableNotAttackable_2
 * NotAttackable = 0x100
 * Flag_0x200 = 0x200
 * Looting = 0x400
 * PetInCombat = 0x800
 * PvPFlagged = 0x1000
 * Silenced = 0x2000
 * Flag_14_0x4000 = 0x4000
 * Flag_15_0x8000 = 0x8000
 * SelectableNotAttackable_3 = 0x10000
 * Pacified = 0x20000
 * Stunned = 0x40000
 * CanPerformAction_Mask1 = 0x60000
 * Combat = 0x80000
 * TaxiFlight = 0x100000
 * Disarmed = 0x200000
 * Confused = 0x400000
 * Fleeing = 0x800000
 * Possessed = 0x1000000
 * NotSelectable = 0x2000000
 * Skinnable = 0x4000000
 * Mounted = 0x8000000
 * Flag_28_0x10000000 = 0x10000000
 * Dazed = 0x20000000
 * Sheathe = 0x40000000
 * Flag_31_0x80000000 = 0x80000000

NOTE: For the most part, there are better ways to check for a lot of these flags using methods provided from the API.