Welcome to the Creatures Wiki! Log in and join the community.
Difference between revisions of "FALL"
Jump to navigation
Jump to search
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | '''FALL''' | + | '''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 [[SUBR|subroutine]] if falling. | |
− | + | <pre> | |
+ | DOIF FALL eq 1 | ||
+ | GSUB falling | ||
+ | ENDI | ||
+ | </pre> | ||
+ | |||
+ | [[Category:C3 CAOS Commands]] |