connect_mob_behalf ![code/datums/components/connect_mob_behalf.dm 4](git.png)
This component behaves similar to connect_loc_behalf, but working off clients and mobs instead of loc To be clear, we hook into a signal on a tracked client's mob We retain the ability to react to that signal on a separate listener, which makes this quite powerful
Vars | |
connections | An assoc list of signal -> procpath to register to the mob our client "owns" |
---|---|
tracked | The master client we're working with |
tracked_mob | The mob we're currently tracking |
Var Details
connections ![code/datums/components/connect_mob_behalf.dm 8](git.png)
An assoc list of signal -> procpath to register to the mob our client "owns"
tracked ![code/datums/components/connect_mob_behalf.dm 10](git.png)
The master client we're working with
tracked_mob ![code/datums/components/connect_mob_behalf.dm 14](git.png)
The mob we're currently tracking