From Creatures Wikia

Jump to: navigation, search

NEGV is a CAOS command for arithmetic.


Syntax: NEGV var (variable)

Changes the sign on the variable, so var = - var. var must be int or float.

If you want to make a variable negative, use ABSV first.


This is equivalent to NEGV va00.

SETV va01 0
SUBV va01 va00
SETV va00 va01
Editnorn This article about a CAOS command or function needs further examples.

See also

Personal tools