observer
Vars | |
data_hud_seen | Defines from __DEFINES/hud.dm go here based on which huds the ghost has activated. |
---|---|
gas_analyzer | toggle for ghost gas 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. |
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
data_hud_seen
Defines from __DEFINES/hud.dm go here based on which huds the ghost has activated.
gas_analyzer
toggle for ghost gas 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.
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.