Gaming
 

FALL

From Creatures Wiki

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

[edit] Usage

Syntax: FALL

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

[edit] Example

Execute a subroutine if falling.

DOIF FALL eq 1
  GSUB falling
ENDI