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

FALL

From Creatures Wiki
Jump to: navigation, 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