kAI
Methods
uint& AIFlags()
bit field of AI flags:
- AIF_ATTACKING=1 << 0
- AIF_WASSOLID=1 << 1
- 1 << 2–first attack
- 1 << 3–heard loud noise
- AIF_BLOWNAWAY=1 << 4
- 1 << 5–go back to leash
- 1 << 6–resurrect
- 1 << 8–regen delay (body has melted away)
- 1 << 9–see target
- AIF_NOCHASE=1 << 10
- 1 << 11–regenerate anim
- AIF_NOTHINK=1 << 12
- AIF_RUNNING=1 << 13
- 1 << 14–get attention
- 1 << 15–regen delay 2? (lights from the sky just before respawn)
- 1 << 16–heard quiet noise
- 1 << 17–away from leash
- 1 << 18–teleport away
- 1 << 19–teleport move slow
- AIF_TELEPORTING=1 << 20
- 1 << 22–wait for cycle
- 1 << 23–damage panic
These can be observed in-game with debugai.