screen_timer 
A screen object that shows the time left on a timer
Vars | |
| maptext_string | The actual displayed content of the maptext, use ${timer}, and it'll be replaced with formatted time left |
|---|---|
| timer_id | Timer ID that we're tracking, the time left of this is displayed as maptext |
| timer_mobs | The list of mobs in whose client.screens we are added to |
Procs | |
| apply_to | Adds the object to the client.screen of all mobs in the list, and registers the needed signals |
| attach | Adds the object to the client.screen of the mob, or removes it if add_to_screen is FALSE |
| de_attach | Signal handler to run attach with specific args |
| remove_from | Removes the object from the client.screen of all mobs in the list, and unregisters the needed signals, while also stopping processing if there's no more mobs in the screen timers mob list |
| update_maptext | Updates the maptext to show the current time left on the timer |
Var Details
maptext_string 
The actual displayed content of the maptext, use ${timer}, and it'll be replaced with formatted time left
timer_id 
Timer ID that we're tracking, the time left of this is displayed as maptext
timer_mobs 
The list of mobs in whose client.screens we are added to
Proc Details
apply_to
Adds the object to the client.screen of all mobs in the list, and registers the needed signals
attach
Adds the object to the client.screen of the mob, or removes it if add_to_screen is FALSE
de_attach
Signal handler to run attach with specific args
remove_from
Removes the object from the client.screen of all mobs in the list, and unregisters the needed signals, while also stopping processing if there's no more mobs in the screen timers mob list
update_maptext
Updates the maptext to show the current time left on the timer