NAME

From Creatures Wikia

Jump to: navigation, search

NAME is a CAOS command which allows access to named local variables.

Usage

Syntax: NAME varname (anything)

This returns the target agent variable referred to by varname. varname may be anything at all - integer, string, agent, etc.

NAME variables are effectively named OVxx variables.

Examples

Assuming a Creature is selected:

SETV NAME NORN 42
DIVV NAME NORN 6
OUTV NAME NORN
    7

and so on.

See also

  • OVxx, the numbered target agent variables
  • NAMN, which loops over NAME variables
  • MAME and GAME, the other named variables
Personal tools