/datum/component/proximity
Vars | |
enabled | Are we currectly detecting movement? |
---|---|
listening_to | Turfs we are currently listening to. |
range | Tiles out to detect. |
turfonly | Do we only detect if we are on a turf? |
Procs | |
Detect | Called when something crosses our range of detection. |
parent_moved | Update if our parent move into or out of a movable or onto a turf. |
set_detection | Sets whether or not we are detecting. |
set_range | Set our range of detection to num. |
Var Details
enabled
Are we currectly detecting movement?
listening_to
Turfs we are currently listening to.
range
Tiles out to detect.
turfonly
Do we only detect if we are on a turf?
Proc Details
Detect
Called when something crosses our range of detection.
parent_moved
Update if our parent move into or out of a movable or onto a turf.
set_detection
Sets whether or not we are detecting.
set_range
Set our range of detection to num.