Welcome to the Creatures Wiki! Log in and join the community.
Object Variables
Object Variables are variables used to store information about a particular agent.
There are various CAOS commands to access/change them, OBVx (used in C1 and C2) and OVxx (C2 and above), for accessing the variables of TARG, and MVxx (C3 and above) for accessing the variables of OWNR, where 'x' is replaced by a number (for example, OBV1 for variable 1, or OV12 for variable 12). Creatures 1 has 10 of them, 0 to 9, and the other games have 100, from 0 to 99.
When a script begins running, they are initially all 0 (integer type), but can be assigned any value. Any value!
This stub could use more information. |
External Links
- C3 permanent variable usage at the CDN - partial list of typical usages of object variables in C3.
- Slink's COB Author's Guide
- Variable types (includes some information on object variables)