admin_wallhacks 
Reapplies wallhacks at the end of every update_sight().
update_sight() rebuilds sight, see_invisible and lighting_cutoff from scratch on living mobs, so values set once are lost on the next call. COMSIG_MOB_UPDATE_SIGHT is sent after that rebuild and before the lighting plane syncs.
Procs | |
| on_update_sight | Adds x-ray sight and full-bright to whatever update_sight() just built. |
|---|---|
Proc Details
on_update_sight
Adds x-ray sight and full-bright to whatever update_sight() just built.
See-invisible only gets raised to SEE_INVISIBLE_LIVING, so a ghost keeps its ghost vision. Arguments:
- source - the mob whose sight was just updated