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

Object Variables

From Creatures Wiki
Revision as of 21:06, 2 December 2022 by Bedalton (talk | contribs) (Fixed false statement claiming C1 has 10 OBVx variables, and the statement saying that object variables can be assigned any value, as that is only true of C2e games)
Jump to navigation Jump to search

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 3 OBVx variables, 0 to 2, with C2 having 10 OBVx variables, 0 to 9. C2 and the other games have 100 OVxx variables, from 0 to 99.

When a script begins running, they are initially all 0 (integer type), but can be assigned any value in C2e, and integer or agent in C1 and C2!  

Editnorn.png This stub could use more information.

External Links