Timed Life Components (#22442)

This PR adds a new abstract kind of component, called a Timed Life
Component, which acts like a component version of a timer. It has some
significant advantages over a traditional timer, namely that unlike a
timer, a TLC can do things like call RegisterSignal() and thus inject
code dynamically into other codepaths. Unlike a timer, it also inherits
the lifetime handling of components, meaning it will never produce a
memory leak.

I needed this for a giant list of things that several lore teams have
asked me to make, as well as several stuff related to the current Event
Arc. Please don't leave me hanging on this.
This commit is contained in:
VMSolidus
2026-05-18 19:20:21 +00:00
committed by GitHub
parent 9d6b304ac7
commit 4d5cc73d0d
@@ -0,0 +1,4 @@
author: Hellfirejag
delete-after: True
changes:
- rscadd: "Added a new type of component called Timed Life Component, which will delete itself after a certain amount of time has passed. Effectively a timer that can interact with signals."