Space Station 13 - Modules - TypesVar Details - Proc Details

Basic Proximity Checker

Inteded for use with the proximity checker component /datum/component/proximity_monitor. Whenever a movable atom crosses this object, it calls HasProximity() on the object which is listening for proximity (hasprox_receiver).

Because these objects try to make the smallest footprint possible, when these objects move they should use direct loc setting only, and not forceMove! The overhead for forceMove is very unnecessary, because for example turfs and areas don't need to know when these have entered or exited them, etc. These are invisible objects who's sole purpose is to simply inform the receiver that something has moved within X tiles of the it.

Vars

activeWhether or not the proximity checker is listening for things crossing it.
monitorThe component that this object is in use with, and that will receive HasProximity() calls.

Procs

CrossedCalled when something crossed over the proximity_checker. Notifies the hasprox_receiver it has proximity with something.

Var Details

active

Whether or not the proximity checker is listening for things crossing it.

monitor

The component that this object is in use with, and that will receive HasProximity() calls.

Proc Details

Crossed

Called when something crossed over the proximity_checker. Notifies the hasprox_receiver it has proximity with something.

Arguments: