Atrinik Server  4.0
Behavior flags


#define BEHAVIOR_OPEN_DOORS   0x02
#define BEHAVIOR_STEALTH   0x04
#define BEHAVIOR_EXITS   0x08
#define BEHAVIOR_GUARD   0x20

Detailed Description

These control what behavior the monster can do.

Macro Definition Documentation

#define BEHAVIOR_EXITS   0x08

Use exits.

Definition at line 612 of file object.h.

#define BEHAVIOR_GUARD   0x20

Guard behavior.

Definition at line 620 of file object.h.

#define BEHAVIOR_OPEN_DOORS   0x02

The monster can open doors.

Definition at line 604 of file object.h.


Use secret passages.

Definition at line 616 of file object.h.


The monster will look for other friendly monsters to cast friendly spells on.

Definition at line 600 of file object.h.

#define BEHAVIOR_STEALTH   0x04

The monster prefers low-light tiles when finding a path to its destination.

Definition at line 608 of file object.h.