Input Delayers #1925
HugoBDesigner
started this conversation in
Resources
Input Delayers
#1925
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Here are three "delayer" instances where you can define how long they need to be active or inactive for before outputting. Not much more to them.
delayer_in
: Needs to stay active for X seconds before outputtingtrue
. Immediately outputsfalse
on deactivation;delayer_out
: Immediately outputstrue
on activation. Needs to stay inactive for X seconds before outputtingfalse
;delayer_in_out
: Needs to stay active for X seconds before outputtingtrue
. Then, needs to stay inactive for Y seconds for it to outputfalse
.The resource comes with purely visual dev textures (skipped on compile), the aforementioned instances, and an example map with them in action.
p2ce_2025-08-24_15-05-00.mp4
Note: the timer indicators are purely visual and are not required for the instances to work.
There is a P2:CE version (a little cleaner/sleeker) and a Portal 2 version, both of the example map and the instances. Crediting not required.
Download
delayer_p2.zip – For Portal 2
delayer_p2ce.zip – For P2:CE
Beta Was this translation helpful? Give feedback.
All reactions