UnitFilterResult
#
UF_SUCCESS = 0
UF_FAIL_FRIENDLY = 1
UF_FAIL_ENEMY = 2
UF_FAIL_HERO = 3
UF_FAIL_CONSIDERED_HERO = 4
UF_FAIL_CREEP = 5
UF_FAIL_BUILDING = 6
UF_FAIL_COURIER = 7
UF_FAIL_OTHER = 8
UF_FAIL_ANCIENT = 9
UF_FAIL_ILLUSION = 10
UF_FAIL_SUMMONED = 11
UF_FAIL_DOMINATED = 12
UF_FAIL_MELEE = 13
UF_FAIL_RANGED = 14
UF_FAIL_DEAD = 15
UF_FAIL_MAGIC_IMMUNE_ALLY = 16
UF_FAIL_MAGIC_IMMUNE_ENEMY = 17
UF_FAIL_INVULNERABLE = 18
UF_FAIL_IN_FOW = 19
UF_FAIL_INVISIBLE = 20
UF_FAIL_NOT_PLAYER_CONTROLLED = 21
UF_FAIL_ATTACK_IMMUNE = 22
UF_FAIL_CUSTOM = 23
UF_FAIL_INVALID_LOCATION = 24
UF_FAIL_DISABLE_HELP = 25
UF_FAIL_OUT_OF_WORLD = 26
UF_FAIL_NIGHTMARED = 27
UF_FAIL_OBSTRUCTED = 28