observer
Vars | |
alive_runechat_color | The "color" their runechat would have had |
---|---|
data_hud_seen | Defines from __DEFINES/hud.dm go here based on which huds the ghost has activated. |
gas_scan | toggle for ghost gas analyzer |
mob_observed | UID of the mob which we are currently observing |
plant_analyzer | toggle for ghost plant analyzer |
Procs | |
check_ahud_rejoin_eligibility | Check if a player has antag-hudded, and if so, if they can rejoin. Returns TRUE if the player can rejoin, and FALSE if the player is ineligible to rejoin. If allow_roundstart_observers is FALSE (TRUE by default), then any observers who were able to ahud due to joining roundstart will be excluded as well. |
cleanup_observe | Clean up observing |
pick_darkness | Pick darkness list |
toggle_all_huds_off | Toggles off all HUDs for the ghost player. |
toggle_all_huds_on | Toggles on all HUDs for the ghost player. |
Var Details
alive_runechat_color
The "color" their runechat would have had
data_hud_seen
Defines from __DEFINES/hud.dm go here based on which huds the ghost has activated.
gas_scan
toggle for ghost gas analyzer
mob_observed
UID of the mob which we are currently observing
plant_analyzer
toggle for ghost plant analyzer
Proc Details
check_ahud_rejoin_eligibility
Check if a player has antag-hudded, and if so, if they can rejoin. Returns TRUE if the player can rejoin, and FALSE if the player is ineligible to rejoin. If allow_roundstart_observers is FALSE (TRUE by default), then any observers who were able to ahud due to joining roundstart will be excluded as well.
cleanup_observe
Clean up observing
pick_darkness
Pick darkness list
toggle_all_huds_off
Toggles off all HUDs for the ghost player.
toggle_all_huds_on
Toggles on all HUDs for the ghost player.
Enables antag HUD only if the ghost belongs to an admin.
Arguments:
- user - A reference to the ghost's old mob. This argument is required since
src
does not have aclient
at this point.