Jump to navigation Jump to search
BYIT is a CAOS function that returns if the creature is within reach of the target agent of their attention or not.
Returns 1 if the creature is within reach, or 0 if it isn't.
This command is used in the creature interaction scripts. From the hit script:
doif byit eq 0 *if the creature is not within hitting range, stim it with disappointment stim writ targ 0 1 wait 10 stop endi