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

FALL

From Creatures Wiki
Revision as of 18:52, 23 January 2006 by Alexwatson (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

FALL is a CAOS command used to test if an agent is falling.

Usage[edit]

Syntax: FALL

Returns 1 if TARG is falling under gravity, or 0 if not.

Example[edit]

Execute a subroutine if falling.

DOIF FALL eq 1
  GSUB falling
ENDI