Welcome to the Creatures Wiki! Log in and join the community.

Difference between revisions of "Message numbers"

From Creatures Wiki
Jump to navigation Jump to search
(eltsitd)
Line 1: Line 1:
 +
drontrmo
 
'''Message numbers''' are used in [[CAOS]] [[script]]s when passing messages to an agent, i.e. to inform an agent of an event.
 
'''Message numbers''' are used in [[CAOS]] [[script]]s when passing messages to an agent, i.e. to inform an agent of an event.
  

Revision as of 06:44, 30 December 2008

drontrmo 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:

NumberMessage
0Activate 1 (Push)
1Activate 2 (Pull)
2Deactivate

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