Enumeration Members

Alerted: 256

Flees from player, or chases player, based on whether the creature is scared or hostile

Attack: 8256

Follows the owner and attacks enemies it sees

AttackAdjacent: 4096

Attacks adjacent enemies (creatures when tamed)

AttackInSight: 8192

Attacks enemies in sight(creatures when tamed)

CanSwapLayers: 65536

Can move between z layers via cave entrances

CanSwapWith: 4

Can swap tiles with the player

Defend: 6144

Stays in place and attacks things that pass by it

Fearless: 16

Never becomes scared, loses interest less often, becomes interested again faster

FollowClose: 64

Follows the player at a close distance

FollowFar: 1024

Follows the player at a far distance

Heel: 16384

Follows the owner and never attacks, even when attacked itself or sees owner attacked

Hidden: 8

Can't be seen

Hostile: 1

Attacks player. Adds Chasing when in range of a player

HostileFearless: 17
Idle: 128

Not currently wandering. This AI type is managed by the wander system. Do not put it in AI masks.

Neutral: 32768

Only attacks randomly when player is adjacent

None: 0
Pacified: 32

Cannot attack

Scared: 2

Adds Fleeing when in range of a player

Stay: 2048

Never move

Waiting: 512

Does not move

Generated using TypeDoc