these bits represent conditions that may befall the monster, of which some are allowed
to interrupt certain schedules.
Name | Value | Description |
---|---|---|
bits_COND_NO_AMMO_LOADED | 1 | weapon needs to be reloaded! |
bits_COND_SEE_HATE | 2 | see something that you hate |
bits_COND_SEE_FEAR | 4 | see something that you are afraid of |
bits_COND_SEE_DISLIKE | 8 | see something that you dislike |
bits_COND_SEE_ENEMY | 16 | target entity is in full view. |
bits_COND_ENEMY_OCCLUDED | 32 | target entity occluded by the world |
bits_COND_SMELL_FOOD | 64 | |
bits_COND_ENEMY_TOOFAR | 128 | |
bits_COND_LIGHT_DAMAGE | 256 | hurt a little |
bits_COND_HEAVY_DAMAGE | 512 | hurt a lot |
bits_COND_CAN_RANGE_ATTACK1 | 1024 | |
bits_COND_CAN_MELEE_ATTACK1 | 2048 | |
bits_COND_CAN_RANGE_ATTACK2 | 4096 | |
bits_COND_CAN_MELEE_ATTACK2 | 8192 | |
bits_COND_PROVOKED | 32768 | |
bits_COND_NEW_ENEMY | 65536 | |
bits_COND_HEAR_SOUND | 131072 | there is an interesting sound |
bits_COND_SMELL | 262144 | there is an interesting scent |
bits_COND_ENEMY_FACING_ME | 524288 | enemy is facing me |
bits_COND_ENEMY_DEAD | 1048576 | enemy was killed. If you get this in combat, try to find another enemy. If you get it in alert, victory dance. |
bits_COND_SEE_CLIENT | 2097152 | see a client |
bits_COND_SEE_NEMESIS | 4194304 | see my nemesis |
bits_COND_CAN_RANGE_ATTACK1_MOVING | 8388608 | |
bits_COND_CAN_MELEE_ATTACK1_MOVING | 16777216 | |
bits_COND_CAN_RANGE_ATTACK2_MOVING | 33554432 | |
bits_COND_CAN_MELEE_ATTACK2_MOVING | 67108864 | |
bits_COND_SPECIAL1 | 268435456 | Defined by individual monster |
bits_COND_SPECIAL2 | 536870912 | Defined by individual monster |
bits_COND_TASK_FAILED | 1073741824 | |
bits_COND_SCHEDULE_DONE | -2147483648 | |
bits_COND_CAN_USE_TANK | 16384 | This monster can use a func_tank now |
bits_COND_ALL_SPECIAL | 805306368 | |
bits_COND_CAN_ATTACK | 15360 |