Message numbers

Message numbers are used in CAOS scripts when passing messages to an agent, i.e. to inform an agent of an event.

They are most notably by MESG WRIT. Most message numbers are identical to script numbers, but some of the earlier ones differ. These are:

If a message is from a Creature, the agent's BHVR is always checked first, and the message is passed only if BHVR allows.