connect_loc

This element hooks a signal onto the loc the current object is on. When the object moves, it will unhook the signal and rehook it to the new object.
Vars | |
| changeturf_callback | The callback used when the turf under the tracked object changes |
|---|---|
| connections | An assoc list of signal -> procpath to register to the loc this object is on. |
| targets | An assoc list of locs that are being occupied and a list of targets that occupy them. |
Var Details
changeturf_callback

The callback used when the turf under the tracked object changes
connections

An assoc list of signal -> procpath to register to the loc this object is on.
targets

An assoc list of locs that are being occupied and a list of targets that occupy them.