NPC:HasCondition
Example
Function that prints a list of conditions an NPC has.
Output: (To server console):
npc_antlion (120) has conditions:
COND.IN_PVS
COND.NO_WEAPON
COND.HAVE_ENEMY_LOS
COND.TOO_FAR_TO_ATTACK
COND.NO_HEAR_DANGER
COND.FLOATING_OFF_GROUND