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

DRV!

From Creatures Wiki
Jump to navigation Jump to search

DRV! is a CAOS command that represents the creature's highest drive as a number. In Creatures 1, 0 (pain) is given as an answer if no drives are pressing. Mark Ashton notes in the Creatures CAOS Guide that developers can use DRV! in the conditional statement: "DOIF DRIV DRV! GT 128" to test the level of the creature's strongest drive. This command was used in the Wishing Well COB.

In C3

In the C3 CAOS documents, DRV! is described as "Returns the id of the highest drive for the target creature."

Editnorn.png This article about a CAOS command or function needs further examples.