Hide and seek mode (#17233)

* Admin toggle for events

* actually subscribe on spawn

* proper subscribe

---------

Co-authored-by: Willburd <7099514+Willburd@users.noreply.github.com>
This commit is contained in:
Cameron Lennox
2025-02-28 06:37:27 -05:00
committed by GitHub
parent 1b07cd88a6
commit 9a77517bd3
5 changed files with 28 additions and 5 deletions
+10
View File
@@ -572,3 +572,13 @@
return
A.flags &= ~(AREA_BLOCK_GHOST_SIGHT)
ghostnet.removeArea(A)
/client/proc/hide_motion_tracker_feedback()
set name = "Toggle Motion Echos"
set desc = "Hides or reveals motion tracker echos globally."
set category = "Admin.Events"
if(!check_rights(R_ADMIN|R_EVENT))
return
SSmotiontracker.hide_all = !SSmotiontracker.hide_all
log_admin("[key_name(usr)] changed the motion echo visibility to [SSmotiontracker.hide_all ? "hidden" : "visible"].")