byond - Modules - TypesVar Details - Proc Details

connect_mob_behalf

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 seperate listener, which makes this quite powerful

Vars

connectionsAn assoc list of signal -> procpath to register to the mob our client "owns"
trackedThe master client we're working with
tracked_mobThe mob we're currently tracking

Procs

handle_tracked_qdelDelete ourselves when our tracked client is deleted
on_logoutupdate_signals on tracked mob logout
unregister_signalsUnregister signals on tracked mob
update_signalsRe-register signals on tracked mob

Var Details

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

Proc Details

handle_tracked_qdel

Delete ourselves when our tracked client is deleted

on_logout

update_signals on tracked mob logout

unregister_signals

Unregister signals on tracked mob

update_signals

Re-register signals on tracked mob