FALL

From Creatures Wikia

Jump to: navigation, 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
Personal tools