/obj/effect/timed_event

Generic system for processing events after a certain time on multiple turfs, and announcing them together.
Vars | |
time | How long to wait until the event should occur |
---|---|
Procs | |
announce_event | When the timer is completed, what global announcement of the event should occur |
check_valid_type | Checks that the type this is acting on is valid, to prevent errors when adding the timer |
generate_callback | To be overridden to generate the callback that should be inserted into the timer |
Var Details
time

How long to wait until the event should occur
Proc Details
announce_event
When the timer is completed, what global announcement of the event should occur
check_valid_type
Checks that the type this is acting on is valid, to prevent errors when adding the timer
generate_callback
To be overridden to generate the callback that should be inserted into the timer