Garry's Mod Wiki

COND

Description

Enumerations for NPC conditions, used by NPC:SetCondition. Serverside only.

There are more conditions than listed here after COND_NO_CUSTOM_INTERRUPTS(70) but the name depends on what's returned by NPC:ConditionName
These enumerations do not exist in game and are listed here only for reference

Values

COND_BEHIND_ENEMY29
COND_BETTER_WEAPON_AVAILABLE46
COND_CAN_MELEE_ATTACK123
COND_CAN_MELEE_ATTACK224
COND_CAN_RANGE_ATTACK121
COND_CAN_RANGE_ATTACK222
COND_ENEMY_DEAD30
COND_ENEMY_FACING_ME28
COND_ENEMY_OCCLUDED13
COND_ENEMY_TOO_FAR27
COND_ENEMY_UNREACHABLE31
COND_ENEMY_WENT_NULL12
COND_FLOATING_OFF_GROUND61
COND_GIVE_WAY48
COND_HAVE_ENEMY_LOS15
COND_HAVE_TARGET_LOS16
COND_HEALTH_ITEM_AVAILABLE47
COND_HEAR_BUGBAIT52
COND_HEAR_BULLET_IMPACT56
COND_HEAR_COMBAT53
COND_HEAR_DANGER50
COND_HEAR_MOVE_AWAY58
COND_HEAR_PHYSICS_DANGER57
COND_HEAR_PLAYER55
COND_HEAR_SPOOKY59
COND_HEAR_THUMPER51
COND_HEAR_WORLD54
COND_HEAVY_DAMAGE18
COND_IDLE_INTERRUPT2
COND_IN_PVS1
COND_LIGHT_DAMAGE17
COND_LOST_ENEMY11
COND_LOST_PLAYER33
COND_LOW_PRIMARY_AMMO3
COND_MOBBED_BY_ENEMIES62
COND_NEW_ENEMY26
COND_NO_CUSTOM_INTERRUPTS70
COND_NO_HEAR_DANGER60
COND_NO_PRIMARY_AMMO4
COND_NO_SECONDARY_AMMO5
COND_NO_WEAPON6
COND_NONE0No additional conditions are being played
COND_NOT_FACING_ATTACK40
COND_NPC_FREEZE67Freezes NPC movement
COND_NPC_UNFREEZE68Unfreezes NPC movement
COND_PHYSICS_DAMAGE19
COND_PLAYER_ADDED_TO_SQUAD64
COND_PLAYER_PUSHING66
COND_PLAYER_REMOVED_FROM_SQUAD65
COND_PROVOKED25
COND_RECEIVED_ORDERS63
COND_REPEATED_DAMAGE20
COND_SCHEDULE_DONE36
COND_SEE_DISLIKE9
COND_SEE_ENEMY10
COND_SEE_FEAR8
COND_SEE_HATE7
COND_SEE_NEMESIS34
COND_SEE_PLAYER32
COND_SMELL37
COND_TALKER_RESPOND_TO_QUESTION69
COND_TARGET_OCCLUDED14
COND_TASK_FAILED35
COND_TOO_CLOSE_TO_ATTACK38
COND_TOO_FAR_TO_ATTACK39
COND_WAY_CLEAR49
COND_WEAPON_BLOCKED_BY_FRIEND42
COND_WEAPON_HAS_LOS41
COND_WEAPON_PLAYER_IN_SPREAD43
COND_WEAPON_PLAYER_NEAR_TARGET44
COND_WEAPON_SIGHT_OCCLUDED45

Page Links


Special Pages


Wikis

?

Render Time: 28ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 8
Render Body 0
Render Sidebar 12