Revision Difference
Enums/COND#516086
<cat>enum</cat>
<enumeration>
<description>
Enumerations for NPC conditions, used by <page>NPC:SetCondition</page>. Serverside only.
<note>There are more conditions than listed here after **COND_NO_CUSTOM_INTERRUPTS**(70) but the name depends on what's returned by <page>NPC:ConditionName</page></note>
<warning>These enumerations do not exist in game, but are listed here anyway for reference</warning>
</description>
<fields>{{EnumField|COND_BEHIND_ENEMY|29</fields>⤶
<fields><item key="COND_BEHIND_ENEMY" value="29</fields>⤶
</enumeration>
{{EnumField|COND_BETTER_WEAPON_AVAILABLE|46}}{{EnumField|COND_CAN_MELEE_ATTACK1|23}}{{EnumField|COND_CAN_MELEE_ATTACK2|24}}{{EnumField|COND_CAN_RANGE_ATTACK1|21}}{{EnumField|COND_CAN_RANGE_ATTACK2|22}}{{EnumField|COND_ENEMY_DEAD|30}}{{EnumField|COND_ENEMY_FACING_ME|28}}{{EnumField|COND_ENEMY_OCCLUDED|13}}{{EnumField|COND_ENEMY_TOO_FAR|27}}{{EnumField|COND_ENEMY_UNREACHABLE|31}}{{EnumField|COND_ENEMY_WENT_NULL|12}}{{EnumField|COND_FLOATING_OFF_GROUND|61}}{{EnumField|COND_GIVE_WAY|48}}{{EnumField|COND_HAVE_ENEMY_LOS|15}}{{EnumField|COND_HAVE_TARGET_LOS|16}}{{EnumField|COND_HEALTH_ITEM_AVAILABLE|47}}{{EnumField|COND_HEAR_BUGBAIT|52}}{{EnumField|COND_HEAR_BULLET_IMPACT|56}}{{EnumField|COND_HEAR_COMBAT|53}}{{EnumField|COND_HEAR_DANGER|50}}{{EnumField|COND_HEAR_MOVE_AWAY|58}}{{EnumField|COND_HEAR_PHYSICS_DANGER|57}}{{EnumField|COND_HEAR_PLAYER|55}}{{EnumField|COND_HEAR_SPOOKY|59}}{{EnumField|COND_HEAR_THUMPER|51}}{{EnumField|COND_HEAR_WORLD|54}}{{EnumField|COND_HEAVY_DAMAGE|18}}{{EnumField|COND_IDLE_INTERRUPT|2}}{{EnumField|COND_IN_PVS|1}}{{EnumField|COND_LIGHT_DAMAGE|17}}{{EnumField|COND_LOST_ENEMY|11}}{{EnumField|COND_LOST_PLAYER|33}}{{EnumField|COND_LOW_PRIMARY_AMMO|3}}{{EnumField|COND_MOBBED_BY_ENEMIES|62}}{{EnumField|COND_NEW_ENEMY|26}}{{EnumField|COND_NO_CUSTOM_INTERRUPTS|70}}{{EnumField|COND_NO_HEAR_DANGER|60}}{{EnumField|COND_NO_PRIMARY_AMMO|4}}{{EnumField|COND_NO_SECONDARY_AMMO|5}}{{EnumField|COND_NO_WEAPON|6}}{{EnumField|COND_NONE|0|No additional conditions are being played}}{{EnumField|COND_NOT_FACING_ATTACK|40}}{{EnumField|COND_NPC_FREEZE|67|Freezes NPC movement}}{{EnumField|COND_NPC_UNFREEZE|68|Unfreezes NPC movement}}{{EnumField|COND_PHYSICS_DAMAGE|19}}{{EnumField|COND_PLAYER_ADDED_TO_SQUAD|64}}{{EnumField|COND_PLAYER_PUSHING|66}}{{EnumField|COND_PLAYER_REMOVED_FROM_SQUAD|65}}{{EnumField|COND_PROVOKED|25}}{{EnumField|COND_RECEIVED_ORDERS|63}}{{EnumField|COND_REPEATED_DAMAGE|20}}{{EnumField|COND_SCHEDULE_DONE|36}}{{EnumField|COND_SEE_DISLIKE|9}}{{EnumField|COND_SEE_ENEMY|10}}{{EnumField|COND_SEE_FEAR|8}}{{EnumField|COND_SEE_HATE|7}}{{EnumField|COND_SEE_NEMESIS|34}}{{EnumField|COND_SEE_PLAYER|32}}{{EnumField|COND_SMELL|37}}{{EnumField|COND_TALKER_RESPOND_TO_QUESTION|69}}{{EnumField|COND_TARGET_OCCLUDED|14}}{{EnumField|COND_TASK_FAILED|35}}{{EnumField|COND_TOO_CLOSE_TO_ATTACK|38}}{{EnumField|COND_TOO_FAR_TO_ATTACK|39}}{{EnumField|COND_WAY_CLEAR|49}}{{EnumField|COND_WEAPON_BLOCKED_BY_FRIEND|42}}{{EnumField|COND_WEAPON_HAS_LOS|41}}{{EnumField|COND_WEAPON_PLAYER_IN_SPREAD|43}}{{EnumField|COND_WEAPON_PLAYER_NEAR_TARGET|44}}{{EnumField|COND_WEAPON_SIGHT_OCCLUDED|45}}⤶
{{EnumField">COND_BETTER_WEAPON_AVAILABLE|46</item><item key="COND_CAN_MELEE_ATTACK1" value="23}}{{EnumField">COND_CAN_MELEE_ATTACK2|24</item><item key="COND_CAN_RANGE_ATTACK1" value="21}}{{EnumField">COND_CAN_RANGE_ATTACK2|22</item><item key="COND_ENEMY_DEAD" value="30}}{{EnumField">COND_ENEMY_FACING_ME|28</item><item key="COND_ENEMY_OCCLUDED" value="13}}{{EnumField">COND_ENEMY_TOO_FAR|27</item><item key="COND_ENEMY_UNREACHABLE" value="31}}{{EnumField">COND_ENEMY_WENT_NULL|12</item><item key="COND_FLOATING_OFF_GROUND" value="61}}{{EnumField">COND_GIVE_WAY|48</item><item key="COND_HAVE_ENEMY_LOS" value="15}}{{EnumField">COND_HAVE_TARGET_LOS|16</item><item key="COND_HEALTH_ITEM_AVAILABLE" value="47}}{{EnumField">COND_HEAR_BUGBAIT|52</item><item key="COND_HEAR_BULLET_IMPACT" value="56}}{{EnumField">COND_HEAR_COMBAT|53</item><item key="COND_HEAR_DANGER" value="50}}{{EnumField">COND_HEAR_MOVE_AWAY|58</item><item key="COND_HEAR_PHYSICS_DANGER" value="57}}{{EnumField">COND_HEAR_PLAYER|55</item><item key="COND_HEAR_SPOOKY" value="59}}{{EnumField">COND_HEAR_THUMPER|51</item><item key="COND_HEAR_WORLD" value="54}}{{EnumField">COND_HEAVY_DAMAGE|18</item><item key="COND_IDLE_INTERRUPT" value="2}}{{EnumField">COND_IN_PVS|1</item><item key="COND_LIGHT_DAMAGE" value="17}}{{EnumField">COND_LOST_ENEMY|11</item><item key="COND_LOST_PLAYER" value="33}}{{EnumField">COND_LOW_PRIMARY_AMMO|3</item><item key="COND_MOBBED_BY_ENEMIES" value="62}}{{EnumField">COND_NEW_ENEMY|26</item><item key="COND_NO_CUSTOM_INTERRUPTS" value="70}}{{EnumField">COND_NO_HEAR_DANGER|60</item><item key="COND_NO_PRIMARY_AMMO" value="4}}{{EnumField">COND_NO_SECONDARY_AMMO|5</item><item key="COND_NO_WEAPON" value="6}}{{EnumField">COND_NONE|0|No additional conditions are being played</item><item key="COND_NOT_FACING_ATTACK" value="40}}{{EnumField">COND_NPC_FREEZE|67|Freezes NPC movement</item><item key="COND_NPC_UNFREEZE" value="68">Unfreezes NPC movement</item><item key="COND_PHYSICS_DAMAGE" value="19}}{{EnumField">COND_PLAYER_ADDED_TO_SQUAD|64</item><item key="COND_PLAYER_PUSHING" value="66}}{{EnumField">COND_PLAYER_REMOVED_FROM_SQUAD|65</item><item key="COND_PROVOKED" value="25}}{{EnumField">COND_RECEIVED_ORDERS|63</item><item key="COND_REPEATED_DAMAGE" value="20}}{{EnumField">COND_SCHEDULE_DONE|36</item><item key="COND_SEE_DISLIKE" value="9}}{{EnumField">COND_SEE_ENEMY|10</item><item key="COND_SEE_FEAR" value="8}}{{EnumField">COND_SEE_HATE|7</item><item key="COND_SEE_NEMESIS" value="34}}{{EnumField">COND_SEE_PLAYER|32</item><item key="COND_SMELL" value="37}}{{EnumField">COND_TALKER_RESPOND_TO_QUESTION|69</item><item key="COND_TARGET_OCCLUDED" value="14}}{{EnumField">COND_TASK_FAILED|35</item><item key="COND_TOO_CLOSE_TO_ATTACK" value="38}}{{EnumField">COND_TOO_FAR_TO_ATTACK|39</item><item key="COND_WAY_CLEAR" value="49}}{{EnumField">COND_WEAPON_BLOCKED_BY_FRIEND|42</item><item key="COND_WEAPON_HAS_LOS" value="41}}{{EnumField">COND_WEAPON_PLAYER_IN_SPREAD|43</item><item key="COND_WEAPON_PLAYER_NEAR_TARGET" value="44}}{{EnumField">COND_WEAPON_SIGHT_OCCLUDED|45</item>⤶
}}