cansee - luxembourg/muxcode-clm GitHub Wiki
CANSEE()
FUNCTION: cansee(<looker>, <lookee>[,<lookee_action>])
NOTE: This function is not available unless either WOD Realms or Reality Levels was enabled at compile-time.
For WOD Realms:
CANSEE returns 1 or 0 depending on whether it's possible for the looker to see the lookee or not. This is useful for wizard code in the master room, help it decide who/what should be able to see who/what, and saves the softcoders the hassle of duplicating these rules in softcode.
The third parameter is optional, but if present should be 0 for standing still, 1 for moving, and 2 for talking.
For Reality Levels:
Returns 1 if <victim>'s Rx levels intersect with <target>'s Tx levels. It does not take into account the location of the objects or other flags like DARK.