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

FALL

From Creatures Wiki
Jump to navigation Jump to search

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

Usage

Syntax: FALL

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

Example

Execute a subroutine if falling.

DOIF FALL eq 1
  GSUB falling
ENDI